Skip to content

Commit

Permalink
Merge pull request #282 from mmatous/pyinstaller-fix
Browse files Browse the repository at this point in the history
Fix ValueError: Invalid config value: spinner=... for pyinstaller
  • Loading branch information
rsalmei authored Oct 26, 2024
2 parents aa73aa7 + effc274 commit 048a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alive_progress/core/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _input(x):
if isinstance(x, FunctionType):
func_file, _ = os.path.splitext(module_lookup.__file__)
if x.__code__.co_name == inner_name \
and os.path.splitext(x.__code__.co_filename)[0] == func_file:
and func_file.endswith(os.path.splitext(x.__code__.co_filename)[0]):
return x
return ERROR

Expand Down

0 comments on commit 048a92a

Please sign in to comment.