From d971722f5f97b50733fc0a9b865b6b2e4c1f0bbb Mon Sep 17 00:00:00 2001 From: Sunny Date: Mon, 13 Mar 2017 15:23:42 +0800 Subject: [PATCH] fix dbPath in code run script --- wxPython/RunScript.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/RunScript.py b/wxPython/RunScript.py index b794715..71b7688 100644 --- a/wxPython/RunScript.py +++ b/wxPython/RunScript.py @@ -40,9 +40,9 @@ shutil.move(src_path, dest_path) if os.path.exists(dest_path): - sqlitedb = "/Applications/dSYM.app/Contents/Resources/dsym.db" + sqlitedb = "/Applications/DSYMTools.app/Contents/Resources/dsym.db" cx = sqlite3.connect(sqlitedb) cu = cx.cursor() cu.execute("""create table if not exists archives (file_path varchar(10) unique)""") cu.execute("insert into archives values (?)", (dest_path, )) - cx.commit() \ No newline at end of file + cx.commit()