diff --git a/vasl_templates/webapp/vassal.py b/vasl_templates/webapp/vassal.py index 09ef9d6..3e13a1b 100644 --- a/vasl_templates/webapp/vassal.py +++ b/vasl_templates/webapp/vassal.py @@ -350,10 +350,11 @@ class VassalShim: return version = VassalShim().get_version() if version not in SUPPORTED_VASSAL_VERSIONS: - msg_store.warning( - "This program has not been tested with VASSAL {}." \ - "

Things might work, but they might not...".format( version ) - ) + if msg_store: + msg_store.warning( + "This program has not been tested with VASSAL {}." \ + "

Things might work, but they might not...".format( version ) + ) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -