From 6aa98e22145c81be857d856fe3b3515354f28ac7 Mon Sep 17 00:00:00 2001 From: Gochim <54093496+Gochim@users.noreply.github.com> Date: Sat, 9 Nov 2019 22:53:52 +0200 Subject: [PATCH] Fixed test_aboutData test --- gui/aboutData.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gui/aboutData.py b/gui/aboutData.py index 2d658832f..a574af246 100644 --- a/gui/aboutData.py +++ b/gui/aboutData.py @@ -19,7 +19,12 @@ import config -versionString = "{0}".format(config.version) +try: + versionString = "{0}".format(config.getVersion()) +except NameError: + # is caught in case we run test and there are no config values initialized + versionString = "0.0" + licenses = ( "pyfa is released under GNU GPLv3 - see included LICENSE file", "All EVE-Online related materials are property of CCP hf.",