Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chliny committed Nov 9, 2013
1 parent 8bee069 commit 723897c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xfdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ def __pushtor(self,myfile,filename):
ires = self.__getrawlist()

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

bthash = str(torinfo["hash"]).upper()
btfilenames = []
Expand Down

0 comments on commit 723897c

Please # to comment.