Commit 92a9c5d9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Muclumbus: Catch additional exception on http result

parent 9126550b
......@@ -188,7 +188,7 @@ class Muclumbus:
for item in items:
try:
anonymity_mode = AnonymityMode(item['anonymity_mode'])
except ValueError:
except (ValueError, KeyError):
anonymity_mode = AnonymityMode.UNKNOWN
results.append(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment