From 74ea44709fd043ad82f94c5d770e3bece6ee93ec Mon Sep 17 00:00:00 2001 From: Carlos Herrero Date: Tue, 13 Oct 2020 11:21:31 +0200 Subject: [PATCH] quick fix heroed/__init__.py --- heroed/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heroed/__init__.py b/heroed/__init__.py index 5101c73..ae962fe 100644 --- a/heroed/__init__.py +++ b/heroed/__init__.py @@ -22,6 +22,7 @@ def handle_init_exceptions(parser): yield except Exception as err: if os.name == "nt": + usage = parser.format_usage() MessageBox = ctypes.windll.user32.MessageBoxW MessageBox( None,