Skip to content

Commit

Permalink
[defcon] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
enterprisey committed Jan 21, 2016
1 parent 82d9717 commit 4ca4c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defcon/defcon.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

template_page = pywikibot.Page(site, TEMPLATE_NAME)
current_rpm_match = re.search("WikiDefcon/levels\|(\d+)", template_page.get())
if (not current_rpm_match) or (current_defcon_match.group(1) != int(rpm)):
if (not current_rpm_match) or (current_rpm_match.group(1) != int(rpm)):
try:
template = open(TEMPLATE_PATH)
except IOError as e:
Expand Down

0 comments on commit 4ca4c88

Please sign in to comment.