Browse Source

Lowercase variables

pull/1673/head
Ruud 12 years ago
parent
commit
367c385fff
  1. 4
      couchpotato/core/downloaders/nzbget/main.py

4
couchpotato/core/downloaders/nzbget/main.py

@ -164,9 +164,9 @@ class NZBGet(Downloader):
history = rpc.history()
for hist in history:
if hist['Parameters'] and hist['Parameters']['couchpotato'] and hist['Parameters']['couchpotato'] == item['id']:
NZBID = hist['ID']
nzb_id = hist['ID']
path = hist['DestDir']
if rpc.editqueue('HistoryDelete', 0, "", [tryInt(NZBID)]):
if rpc.editqueue('HistoryDelete', 0, "", [tryInt(nzb_id)]):
shutil.rmtree(path, True)
except:
log.error('Failed deleting: %s', traceback.format_exc(0))

Loading…
Cancel
Save