Skip to content

Commit 5c14b69

Browse files
.
1 parent 67c350e commit 5c14b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

threebot_worker/threebot-worker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ except:
6464
sys.exit(2)
6565

6666
try:
67-
SECRET_KEY = Config.get('3bot-settings', 'SECRET_KEY')
67+
SECRET_KEY = Config.get('3bot-settings', 'SECRET_KEY').encode('utf-8')
6868
except:
6969
print("Invalid config file in: '%s'. Could not find SECRET_KEY declaration" % CONFIGFILE)
7070
print("You can find a basic config file in the documentation.")

0 commit comments

Comments
 (0)