Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Sep 27, 2023
1 parent 940ee78 commit f19102b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinol_make/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def check_for_updates(current_version) -> Union[str, None]:

try:
version = version_file.read_text()
except PermissionError:
except (PermissionError, FileNotFoundError):
try:
with open(paths.get_cache_path("sinol_make_version"), "r") as f:
version = f.read()
Expand Down

0 comments on commit f19102b

Please sign in to comment.