diff --git a/EDMarketConnector.py b/EDMarketConnector.py index cee1a52a..4b599d68 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -299,11 +299,13 @@ class AppWindow: self.postprefs(False) # Companion login happens in callback from monitor - if len(plug.PLUGINS_not_py3): + plugins_not_py3_last = config.getint('plugins_not_py3_last') or int(time()) + if (plugins_not_py3_last + 86400) < int(time()) and len(plug.PLUGINS_not_py3): import tkMessageBox tkMessageBox.showinfo('Plugins Without Python 3.x Support', "One or more of your enabled plugins do not yet have support for Python 3.x. Please see the list on the 'Plugins' tab of 'File' > 'Settings'. You should check if there is an updated version available, else alert the developer that they will need to update the code when EDMC moves to Python 3.x" ) + config.set('plugins_not_py3_last', int(time())) # callback after the Preferences dialog is applied