Skip to content

Commit

Permalink
Merge pull request #20 from ssenior45/master
Browse files Browse the repository at this point in the history
removed reference to my own home directory
  • Loading branch information
MattTuttle committed Feb 17, 2014
2 parents 7fd243d + e78c546 commit 335490d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Titanium.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sublime_plugin
import json
import subprocess
#from pprint import pprint
from os.path import expanduser

class TitaniumCommand(sublime_plugin.WindowCommand):

Expand Down Expand Up @@ -286,7 +286,7 @@ def load_ios_info(self):

for name, obj in list(info["ios"].items()):
if name == "certs":
for target, c in list(obj["keychains"]["/Users/stevensenior/Library/Keychains/login.keychain"].items()):
for target, c in list(obj["keychains"][expanduser("~") + "/Library/Keychains/login.keychain"].items()):
if target == "wwdr" or (target == "developer" and self.target != "device") or (target == "distribution" and self.target == "device"):
continue
l = []
Expand All @@ -307,4 +307,4 @@ def load_ios_info(self):
l = []
for a in obj:
l.append([a['name'], a['udid']])
self.devices = l
self.devices = l

0 comments on commit 335490d

Please sign in to comment.