Skip to content

Commit 5ceb732

Browse files
.
1 parent 5c14b69 commit 5ceb732

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

threebot_worker/threebot-worker

Lines changed: 2 additions & 3 deletions
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').encode('utf-8')
67+
SECRET_KEY = Config.get('3bot-settings', 'SECRET_KEY')
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.")
@@ -170,8 +170,7 @@ def run_command(request):
170170
p = subprocess.Popen(callable, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
171171
logging.info("Executing Script file at: %s" % task_path)
172172
t_stdout = ""
173-
t_stderr = ""
174-
173+
t_stderr = ""
175174
try:
176175
t_stdout = p.stdout.read()
177176
except AttributeError as e:

0 commit comments

Comments
 (0)