0

Fixed the contribManager in windows binaries

This commit is contained in:
Andrew Chin
2011-10-04 23:27:30 -04:00
parent 2836c66548
commit 12a81a2b47
7 changed files with 13 additions and 7 deletions

View File

@@ -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