We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa73aa7 + effc274 commit 048a92aCopy full SHA for 048a92a
alive_progress/core/configuration.py
@@ -48,7 +48,7 @@ def _input(x):
48
if isinstance(x, FunctionType):
49
func_file, _ = os.path.splitext(module_lookup.__file__)
50
if x.__code__.co_name == inner_name \
51
- and os.path.splitext(x.__code__.co_filename)[0] == func_file:
+ and func_file.endswith(os.path.splitext(x.__code__.co_filename)[0]):
52
return x
53
return ERROR
54
0 commit comments