remove vs code

This commit is contained in:
Elite-IGAU 2020-02-09 11:56:24 -07:00
parent 70e28aa9a7
commit 5847715897
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +0,0 @@
{
"python.pythonPath": "C:\\Program Files\\Python38\\python.exe"
}

12
load.py
View File

@ -1,15 +1,17 @@
from SpanshRouter import SpanshRouter
global spansh_router
spansh_router = None
plugin_dir = None
def plugin_start3(plugin_dir):
return plugin_start()
return plugin_start(plugin_dir)
def plugin_start():
def plugin_start(plugin_dir):
# Check for newer versions
global spansh_router
spansh_router = SpanshRouter(plugin_dir)
spansh_router.check_for_update()
#spansh_router = SpanshRouter(plugin_dir)
#spansh_router.check_for_update()
spansh_router.open_last_route()
return 'spansh_router'
@ -30,4 +32,4 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
def plugin_app(parent):
global spansh_router
spansh_router.init_gui(parent)
spansh_router.init_gui(parent)