mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 01:01:47 +00:00
FIX: just whitespace fix
This commit is contained in:
parent
8f4a6797fa
commit
3e7339f066
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ class TorrentClient(object):
|
|||
logger.debug('FileName (load_torrent): ' + str(os.path.basename(filepath)))
|
||||
|
||||
|
||||
#Check if torrent already added
|
||||
#Check if torrent already added
|
||||
if self.find_torrent(str.lower(hash)):
|
||||
logger.info('load_torrent: Torrent already exists!')
|
||||
else:
|
||||
|
@ -126,7 +126,7 @@ class TorrentClient(object):
|
|||
self.client.call('label.add', mylar.DELUGE_LABEL)
|
||||
self.client.call('label.set_torrent', torrent_id, mylar.DELUGE_LABEL)
|
||||
except:
|
||||
logger.warn('Unable to set label - Either try to create it manually within Deluge, and/or ensure there are no spaces, capitalization or special characters in label')
|
||||
logger.warn('Unable to set label - Either try to create it manually within Deluge, and/or ensure there are no spaces, capitalization or special characters in label')
|
||||
return False
|
||||
logger.info('Succesfully set label to ' + mylar.DELUGE_LABEL)
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue