Skip to content

Commit

Permalink
Handle non-existent sync file when checking if it is read only
Browse files Browse the repository at this point in the history
(part of issue #18)
  • Loading branch information
aecreations committed Mar 3, 2024
1 parent 0d14b56 commit 79cafed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syncClippings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def getSyncFileInfo(aSyncFileDir):
rv = {
"fileName": "",
"fileSizeKB": "",
"readOnly": False
"readOnly": None
}
if not Path(aSyncFileDir).exists():
log("getSyncFileInfo(): Directory does not exist: %s" % aSyncFileDir)
Expand Down

0 comments on commit 79cafed

Please sign in to comment.