Skip to content

Instantly share code, notes, and snippets.

@murych
Created July 27, 2017 12:26
Show Gist options
  • Save murych/58ac21fa7f034e0b6db5e60c7a0ed97e to your computer and use it in GitHub Desktop.
Save murych/58ac21fa7f034e0b6db5e60c7a0ed97e to your computer and use it in GitHub Desktop.
root@a88e7e9f60ea:/# python /opt/app/bot.py
File "/opt/app/bot.py", line 500
global current_func
^
SyntaxError: name 'current_func' is used prior to global declaration
root@a88e7e9f60ea:/# python
Python 3.6.2 (default, Jul 24 2017, 19:47:39)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment