Skip to content

Commit

Permalink
Merge pull request answer-huang#30 from sunnysuhappy/master
Browse files Browse the repository at this point in the history
fix dbPath in Xcode run script
  • Loading branch information
answer-huang authored Mar 13, 2017
2 parents 37eba33 + d971722 commit 78548eb
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 78548eb

Please sign in to comment.