重新按英文命名,修改成相对路径
This commit is contained in:
@@ -16,7 +16,7 @@ import traceback
|
||||
import webbrowser
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
APP = os.path.join(ROOT, "造价审核", "app")
|
||||
APP = os.path.join(ROOT, "CostReview", "app")
|
||||
|
||||
|
||||
def wait_port(port, timeout=15):
|
||||
@@ -34,7 +34,7 @@ def wait_port(port, timeout=15):
|
||||
def main():
|
||||
if not os.path.isdir(APP):
|
||||
print("找不到程序目录:%s" % APP)
|
||||
print("请确认本文件与「造价审核」文件夹放在同一个目录下。")
|
||||
print("请确认本文件与「CostReview」文件夹放在同一个目录下。")
|
||||
return 1
|
||||
|
||||
os.chdir(APP)
|
||||
|
||||
Reference in New Issue
Block a user