minor bugfix

This commit is contained in:
Casper da Costa-Luis
2019-08-10 14:15:16 +01:00
parent 70ee31329f
commit c4b9d7dba7
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -41,6 +41,8 @@ class Progress(tqdm):
"""
def __init__(self):
super(Progress, self).__init__(total=0, disable=True)
from time import time
self._time = time
self.set_lock(Lock())
self._targets = {}
self.clearln()
+1 -1
View File
@@ -70,7 +70,7 @@ class RemoteHTTP(RemoteBASE):
for path_info in path_infos:
results.append(self.exists(path_info))
callback.update(str(path_info))
callback(str(path_info))
return results