fixup: use repr to identify the class

This commit is contained in:
tcely authored and GitHub committed 2025-02-07 07:35:51 -05:00
1 parent 71d84e1d74
commit f5c832e5ab
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ class ProgressHookStatus(BaseStatus):
self.download_progress = 0
def __str__(self):
return f'{self.__name__}: {self.status} ({self.download_progress}) file: {self.filename}'
return f'{self!r}: {self.status} ({self.download_progress}) file: {self.filename}'
def next_progress(self):
if 0 == self.download_progress: