Scheduling part 2

Remove job if interval changed to 0

Plus, fixup os x notify registering not working with yosemite and also
show album image in notification
This commit is contained in:
Ade
2015-01-27 12:21:47 +13:00
parent fdc5078a85
commit 37d9cf11c3
5 changed files with 48 additions and 30 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ import subprocess
def registerapp(app):
# don't do any of this unless >= 10.8
v, _, _ = platform.mac_ver()
v = float('.'.join(v.split('.')[:2]))
if v < 10.8:
if not [int(n) for n in platform.mac_ver()[0].split('.')] >= [10, 8]:
return None, 'Registering requires OS X version >= 10.8'
app_path = None