Skip to content

Commit db4bf2a

Browse files
committed
Fix None config
1 parent a47c1aa commit db4bf2a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pygame_menu/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
__url__ = _meta.get("Home-page")
2727
__module_name__ = _meta.get("Name")
2828
except PackageNotFoundError:
29-
# Local fallback
29+
__version__ = None
30+
31+
# Local fallback
32+
if __version__ is None:
3033
__version__ = "4.4.3"
3134
__author__ = "Pablo Pizarro R."
3235
__email__ = "pablo@ppizarror.com"

0 commit comments

Comments
 (0)