Skip to content
Snippets Groups Projects
Commit 8fc656a1 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Triggers] correctly initialize variable

parent 66dddec8
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,7 @@ class Triggers(GajimPlugin):
# Should we stop after first valid rule ?
# break
new_num = 0
num = 0
new_config = {}
while str(num) in self.config:
rule = self.config[str(num)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment