Révision 75d6a31b modules/dos_input.py
b/modules/dos_input.py | ||
---|---|---|
241 | 241 |
running = ['r', 'run', 'running'] |
242 | 242 |
pending = ['p', 'pending', 'q', 'qw', 'queued'] |
243 | 243 |
type_max = dos_inp.get('Global', 'type_max', fallback="False") |
244 |
if type_max in turn_false_answers: |
|
244 |
if type_max.lower() in turn_false_answers:
|
|
245 | 245 |
return False |
246 |
elif type_max in running: |
|
246 |
elif type_max.lower() in running:
|
|
247 | 247 |
return 'r' |
248 |
elif type_max in pending: |
|
248 |
elif type_max.lower() in pending:
|
|
249 | 249 |
return 'p' |
250 | 250 |
else: |
251 | 251 |
err = f"Value for 'type_max' is not acceoted. Accepted values: " \ |
Formats disponibles : Unified diff