Skip to content

Commit 232f9ac

Browse files
committed
fixed strange globalm variable (sys module) problem
1 parent f63861e commit 232f9ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

capsul/process/runprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ def main():
546546
try:
547547
config.input_fom = default_fom
548548
except KeyError:
549+
global sys # WHY does the global import not work here ??
549550
print('Warning: FOM', default_fom, 'could not be loaded.',
550551
file=sys.stderr)
551552
if options.output_fom is not None:

0 commit comments

Comments
 (0)