Skip to content

Commit

Permalink
Update main.py. Fix keyerror exception
Browse files Browse the repository at this point in the history
  • Loading branch information
knewell committed Sep 16, 2019
1 parent 8091b35 commit 8890c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def getActiveFlowRoutes(self):
'age': str(_age['current'])})

except KeyError as ke:
return False, ke.message
return False, ke

return True, self.flow_active

Expand Down

0 comments on commit 8890c0b

Please sign in to comment.