mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 01:22:19 +03:00
Remove the 'plugins not py 3.x' warning popup from EDMarketConnector.py
This *was* moved to plug.py, and it executing there prevents this version from actually causing a popup, but it doesn't belong here.
This commit is contained in:
parent
c5adb3bbb9
commit
b829c1bbd1
@ -815,11 +815,4 @@ if __name__ == "__main__":
|
||||
root = tk.Tk(className=appname.lower())
|
||||
app = AppWindow(root)
|
||||
|
||||
plugins_not_py3_last = config.getint('plugins_not_py3_last') or 0
|
||||
if (plugins_not_py3_last + 86400) < int(time()) and len(plug.PLUGINS_not_py3):
|
||||
tkinter.messagebox.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 need to update the code for Python 3.x\r\n\r\nYou can disable a plugin by renaming its folder to have '.disabled' on the end of the name."
|
||||
)
|
||||
config.set('plugins_not_py3_last', int(time()))
|
||||
|
||||
root.mainloop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user