updated contrib scripts to work with latest code
This commit is contained in:
@@ -17,9 +17,8 @@ import sys
|
||||
import re
|
||||
import os.path
|
||||
|
||||
# sys.path wrangling, so we can access Overviewer code
|
||||
overviewer_dir = os.path.split(os.path.split(os.path.abspath(__file__))[0])[0]
|
||||
sys.path.insert(0, overviewer_dir)
|
||||
# incantation to be able to import overviewer_core
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user