Traceback import missing

This commit is contained in:
Ruud committed 2013-04-05 12:08:45 +02:00
1 parent 63609bb52c
commit 7f4373e000
1 file changed
+3 -2
@@ -8,8 +8,9 @@ import httplib
import json import json
import os.path import os.path
import re import re
import urllib2
import shutil import shutil
import traceback
import urllib2
log = CPLog(__name__) log = CPLog(__name__)
@@ -118,7 +119,7 @@ class Transmission(Downloader):
# manage no peer in a range time => fail # manage no peer in a range time => fail
for item in queue['torrents']: for item in queue['torrents']:
log.debug('name=%s / id=%s / downloadDir=%s / hashString=%s / percentDone=%s / status=%s / eta=%s / uploadRatio=%s / confRatio=%s / isFinished=%s', (item['name'], item['id'], item['downloadDir'], item['hashString'], item['percentDone'], item['status'], item['eta'], item['uploadRatio'], self.conf('ratio'), item['isFinished'] )) log.debug('name=%s / id=%s / downloadDir=%s / hashString=%s / percentDone=%s / status=%s / eta=%s / uploadRatio=%s / confRatio=%s / isFinished=%s', (item['name'], item['id'], item['downloadDir'], item['hashString'], item['percentDone'], item['status'], item['eta'], item['uploadRatio'], self.conf('ratio'), item['isFinished']))
if not os.path.isdir(Env.setting('from', 'renamer')): if not os.path.isdir(Env.setting('from', 'renamer')):
log.debug('Renamer folder has to exist.') log.debug('Renamer folder has to exist.')