Skip to content

Commit

Permalink
[find_updates] Fix unbound variable error on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Sep 1, 2014
1 parent f38d8e9 commit f4b154d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions find_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def parse_version(version):
@willie.module.event('251')
@willie.module.rule('.*')
def startup_version_check(bot, trigger):
global startup_check_run
if not startup_check_run:
startup_check_run = True
check_version(bot)
Expand Down

0 comments on commit f4b154d

Please sign in to comment.