fixup: use repr to identify the class
This commit is contained in:
1 parent
71d84e1d74
commit
f5c832e5ab
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user