From f5c832e5aba65a27bd41f9944dac7d1dcd9f061e Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 7 Feb 2025 07:35:51 -0500 Subject: [PATCH] fixup: use repr to identify the class --- tubesync/sync/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/hooks.py b/tubesync/sync/hooks.py index 26ab2c64..3d679460 100644 --- a/tubesync/sync/hooks.py +++ b/tubesync/sync/hooks.py @@ -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: