diff --git a/xfdown.py b/xfdown.py index 627a24e..571944d 100755 --- a/xfdown.py +++ b/xfdown.py @@ -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"])