From 0439082d5dedb77b9ad496424e1312d5dc46d9dd Mon Sep 17 00:00:00 2001 From: Chris Meyer <34664+cmeyer@users.noreply.github.com> Date: Sat, 28 Dec 2024 15:38:34 -0800 Subject: [PATCH] Add logging output for UI tool build version at startup. --- nion/swift/Application.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nion/swift/Application.py b/nion/swift/Application.py index 8f1654de..4cdd71ed 100644 --- a/nion/swift/Application.py +++ b/nion/swift/Application.py @@ -245,6 +245,7 @@ def initialize(self, *, load_plug_ins: bool = True, use_root_dir: bool = True) - logging.info("Launch time " + str(datetime.datetime.now())) logging.info("Python version " + str(sys.version.replace('\n', ''))) logging.info("User interface class " + type(self.ui).__name__ + " / " + type(getattr(self.ui, "proxy")).__name__) + logging.info("Build version (UI) " + self.ui.get_build_version()) logging.info("Qt version " + self.ui.get_qt_version()) app_data_file_path = self.ui.get_configuration_location() / pathlib.Path("nionswift_appdata.json") ApplicationData.set_file_path(app_data_file_path)