minor bugfix
This commit is contained in:
parent
d4f0580b49
commit
698243f547
@ -11,6 +11,7 @@ from os.path import join
|
||||
elif platform == "win32":
|
||||
from ballonNotify import Notification'''
|
||||
from notifications import Notification
|
||||
from pushbullet import Pushbullet
|
||||
|
||||
from optparse import OptionParser
|
||||
from ConfigParser import ConfigParser
|
||||
@ -54,8 +55,6 @@ def main(options):
|
||||
regex = re.compile("Added (?:.*/)?(.*)-.* to library with id \d*")
|
||||
searcher = regex.search
|
||||
stripper = False
|
||||
if options.pushbullet:
|
||||
from pushbullet import Pushbullet
|
||||
for line in buf.readlines():
|
||||
r = searcher(line)
|
||||
if r:
|
||||
|
Loading…
Reference in New Issue
Block a user