python fix for things3

This commit is contained in:
Maciej Krok 2017-05-26 22:50:41 +02:00
parent b4c294ecba
commit 87069126bd

View File

@ -46,13 +46,13 @@ class thingspy:
def addToThings(self): def addToThings(self):
for project in self.projects: for project in self.projects:
applescript = "tell application \"Things\"\n" applescript = "tell application \"Things3\"\n"
applescript += project.makeAppleScript() applescript += project.makeAppleScript()
applescript += "\nend tell \n" applescript += "\nend tell \n"
self.doAppleScript(applescript) self.doAppleScript(applescript)
for todo in self.todos: for todo in self.todos:
applescript = "tell application \"Things\"\n" applescript = "tell application \"Things3\"\n"
applescript += todo.makeAppleScript() applescript += todo.makeAppleScript()
applescript += "\nend tell \n" applescript += "\nend tell \n"
self.doAppleScript(applescript) self.doAppleScript(applescript)