From f4b154dc65c909e1ec25bdc36aba6f00f964c209 Mon Sep 17 00:00:00 2001 From: Edward Powell Date: Mon, 1 Sep 2014 11:15:23 -0400 Subject: [PATCH] [find_updates] Fix unbound variable error on startup --- find_updates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/find_updates.py b/find_updates.py index c527b72181..612e3e0dcf 100644 --- a/find_updates.py +++ b/find_updates.py @@ -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)