Fixed the contribManager in windows binaries
This commit is contained in:
@@ -18,7 +18,8 @@ import re
|
||||
import os.path
|
||||
|
||||
# incantation to be able to import overviewer_core
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
if not hasattr(sys, "frozen"):
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
|
||||
from overviewer_core import world
|
||||
from overviewer import list_worlds
|
||||
|
||||
@@ -30,7 +30,8 @@ import os
|
||||
import cPickle
|
||||
|
||||
# incantation to be able to import overviewer_core
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
if not hasattr(sys, "frozen"):
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
|
||||
from overviewer_core import nbt
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ Very basic player.dat inspection script
|
||||
import sys, os
|
||||
|
||||
# incantation to be able to import overviewer_core
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
if not hasattr(sys, "frozen"):
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
|
||||
from overviewer_core.nbt import load
|
||||
from overviewer_core import items
|
||||
|
||||
@@ -21,7 +21,8 @@ import sys,os
|
||||
import re
|
||||
|
||||
# incantation to be able to import overviewer_core
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
if not hasattr(sys, "frozen"):
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
|
||||
from overviewer_core import nbt
|
||||
from overviewer_core import world
|
||||
|
||||
@@ -9,7 +9,8 @@ import os
|
||||
import sys
|
||||
|
||||
# incantation to be able to import overviewer_core
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
if not hasattr(sys, "frozen"):
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')))
|
||||
|
||||
from overviewer_core import nbt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user