mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
fix to utils
This commit is contained in:
@ -195,7 +195,6 @@ def add_argument_before(a, args):
|
|||||||
"""Add a before the other arguments. Also works with
|
"""Add a before the other arguments. Also works with
|
||||||
dict that holds args to several modules. Always puts the
|
dict that holds args to several modules. Always puts the
|
||||||
args in a dict to be compatible with set_using_dict"""
|
args in a dict to be compatible with set_using_dict"""
|
||||||
print(f'{args=}')
|
|
||||||
if isinstance(args, tuple):
|
if isinstance(args, tuple):
|
||||||
return (a, *args)
|
return (a, *args)
|
||||||
elif isinstance(args, dict):
|
elif isinstance(args, dict):
|
||||||
|
Reference in New Issue
Block a user