重新按英文命名,修改成相对路径
This commit is contained in:
@@ -5,7 +5,7 @@ import sys
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(sys.executable if getattr(sys, "frozen", False) else __file__))
|
||||
APP = os.path.join(ROOT, "造价审核", "app")
|
||||
APP = os.path.join(ROOT, "CostReview", "app")
|
||||
for part in (APP, os.path.join(APP, "server"), os.path.join(APP, "core")):
|
||||
sys.path.insert(0, part)
|
||||
|
||||
@@ -16,7 +16,7 @@ import shell
|
||||
|
||||
|
||||
def check():
|
||||
data = os.path.join(ROOT, "造价审核", "data")
|
||||
data = os.path.join(ROOT, "CostReview", "data")
|
||||
paths = (os.path.join(APP, "ui", "workbench.html"),
|
||||
os.path.join(APP, "store", "schema.sql"),
|
||||
os.path.join(data, "history.db"))
|
||||
|
||||
Reference in New Issue
Block a user