Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertTLange committed Mar 7, 2023
1 parent 5451986 commit ef86aa6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mle_monitor/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.0.2"
5 changes: 4 additions & 1 deletion mle_monitor/protocol/gcs_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def get_gcloud_db(
return 1
except Exception as ex:
# Remove empty file - causes error otherwise when trying to load
os.remove(expanduser(local_protocol_fname))
try:
os.remove(expanduser(local_protocol_fname))
except Exception:
pass
if type(ex).__name__ == "NotFound":
logger.info(
f"No DB found in GCloud Storage - {gcs_protocol_fname}"
Expand Down

0 comments on commit ef86aa6

Please sign in to comment.