From 4a5221b703ab6c2185956ee86c1e0a184e119320 Mon Sep 17 00:00:00 2001 From: gac-maloja Date: Sat, 2 Oct 2021 11:21:20 +0200 Subject: [PATCH] added "Expert Mode" to the title if -a is given --- scam.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scam.py b/scam.py index 65e5cb8..7f8d9f5 100755 --- a/scam.py +++ b/scam.py @@ -23,6 +23,7 @@ ENFORCED_SETTINGS = [ ] SCRIPT_NAME = "spectrometer.py" +TITLE = "SCam" if not clargs.show_all_settings else "SCam Expert Mode" @@ -50,7 +51,7 @@ pls = sorted(pls) class MainFrame(wx.Frame): - def __init__(self, parent=None, title="SCam"): + def __init__(self, parent=None, title=TITLE): super().__init__(parent, title=title) panel_main = MainPanel(self)