Use normal ID, not extended. fix #1543

This commit is contained in:
Ruud
2013-03-25 09:58:39 +01:00
parent 744aa153f6
commit b216589e88
+1 -1
View File
@@ -148,7 +148,7 @@ class NZBGet(Downloader):
try:
history = rpc.history()
if rpc.editqueue('HistoryDelete', 0, "", [int(item['id'][len('NZBGet_'):])]):
if rpc.editqueue('HistoryDelete', 0, "", [tryInt(item['id'])]):
path = [hist['DestDir'] for hist in history if hist['NZBID'] == item['id']][0]
shutil.rmtree(path, True)
except: