assigning properly
This commit is contained in:
1 parent
369b3bf867
commit
7fdbcdf951
1 file changed
+2
-1
+2
-1
@@ -26,7 +26,8 @@ config = configparser.RawConfigParser()
|
||||
configFilePath = r'bot_config.conf'
|
||||
|
||||
# Last error message variable used by $last_error command to display in discord
|
||||
global last_error = "No errors been recorded."
|
||||
global last_error
|
||||
last_error = "No errors have been recorded."
|
||||
|
||||
try:
|
||||
config.read(configFilePath)
|
||||
|
||||
Reference in new issue
Block a user