Skip to content
Snippets Groups Projects
Commit 0ae0b8b2 authored by Damian Johnson's avatar Damian Johnson
Browse files

Fix fallback irc notifications

Correcting a regression with the earlier change...

  Traceback (most recent call last):
    File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 92, in <module>
      main()
    File "/srv/doctor.torproject.org/doctor/fallback_directories.py", line 87, in main
      util.send('Announce or', body = body, to = ['tor-misc@commit.noreply.org'])
  NameError: global name 'body' is not defined
parent 352d5de7
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ def main():
break
irc_body = '\n'.join(['[fallback-directories] %s' % line for line in irc_lines])
util.send('Announce or', body = body, to = ['tor-misc@commit.noreply.org'])
util.send('Announce or', body = irc_body, to = ['tor-misc@commit.noreply.org'])
if __name__ == '__main__':
......
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