Skip to content

Commit

Permalink
fix flake8 issues for conf/example_apps/eventCache.py
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Dec 4, 2019
1 parent 58d4088 commit e411d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/example_apps/eventCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ def loadCache(self):
with open(self.cache) as f:
try:
return json.load(f)
except:
except Exception:
return {}

def saveCache(self):
try:
with open(self.cache, mode="w") as f:
json.dump(self.state, f)
except:
except Exception:
self.log("oops during save of cache")

def deprecateOldEvents(self):
Expand Down

0 comments on commit e411d07

Please sign in to comment.