Skip to content

Commit e401680

Browse files
committed
don't compare to placeholder value if id source is user
1 parent 92fbf8b commit e401680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
'please contact Dylan Nielson at [email protected].'
111111
)
112112

113-
with If(CogBatt_config.RUNNING_FROM_EXECUTABLE):
113+
with If(CogBatt_config.RUNNING_FROM_EXECUTABLE and (CogBatt_config.WORKER_ID_SOURCE != 'USER')):
114114
# Handles case where retrieval of worker id fails
115115
with If(exp.worker_id_dict['status'] == 'error'):
116116
error_screen(error='Failed to Retrieve Identifier: ' + exp.worker_id_dict['content'],

0 commit comments

Comments
 (0)