Skip to content

Commit

Permalink
fix dbPath in code run script
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysuhappy committed Mar 13, 2017
1 parent 37eba33 commit d971722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wxPython/RunScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
cx.commit()

0 comments on commit d971722

Please sign in to comment.