Skip to content

Commit

Permalink
fix bug:crash when add torrent file
Browse files Browse the repository at this point in the history
  • Loading branch information
chliny committed Feb 12, 2014
1 parent cfc920b commit 3b622c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xfdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def __pushtor(self,myfile,filename):
ires = self.__getrawlist()

oldfiles = []
if ires:
if ires and ires["data"]:
for fileinfo in ires["data"]:
oldfiles.append(fileinfo["file_name"])

Expand Down

0 comments on commit 3b622c2

Please # to comment.