diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py index 534dadc4f..12b51633a 100644 --- a/plugins/exchange_rate.py +++ b/plugins/exchange_rate.py @@ -323,8 +323,9 @@ class Plugin(BasePlugin): else: return - for window in self.gui.windows: - window.need_update.set() + if self.gui: + for window in self.gui.windows: + window.need_update.set() def requires_settings(self): return True