From b9dd274c7df2562a64b6cd1318804cf2692110e4 Mon Sep 17 00:00:00 2001 From: Ajay Kapur Date: Tue, 25 Nov 2025 00:36:20 -0800 Subject: [PATCH] Fix for issue 53: https://github.com/perslev/CanvasSync/issues/53. Simple change, didn't run or test ;) --- CanvasSync/entities/file.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CanvasSync/entities/file.py b/CanvasSync/entities/file.py index 512d334..674c6d3 100755 --- a/CanvasSync/entities/file.py +++ b/CanvasSync/entities/file.py @@ -67,6 +67,7 @@ def __repr__(self): def download(self): """ Download the file """ if os.path.exists(self.sync_path): + self.print_status(u"SYNCED", color=u"green") return False self.print_status(u"DOWNLOADING", color=u"blue") @@ -115,7 +116,7 @@ def sync(self): """ if not self.locked: was_downloaded = self.download() - self.print_status(u"SYNCED", color=u"green", overwrite_previous_line=was_downloaded) + self.print_status(u"DOWNLOADED", color=u"green", overwrite_previous_line=was_downloaded) else: self.print_status(u"LOCKED", color=u"red", overwrite_previous_line=False)