mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-05-19 14:16:47 -04:00
I did add a ';' from habit, removed again, must please the bunny :)
This commit is contained in:
@@ -35,7 +35,7 @@ def main():
|
||||
|
||||
count = 0
|
||||
for entry in data:
|
||||
text = entry.get('text', '[API provided no text]');
|
||||
text = entry.get('text', '[API provided no text]')
|
||||
# Result: 0 (success), 1 (error), or 3 (empty).
|
||||
if entry['result'] == 0:
|
||||
leases = entry['arguments']['leases']
|
||||
|
||||
Reference in New Issue
Block a user