Cleaner intermediate print during autoimport.
This commit is contained in:
parent
f1530860d2
commit
c535dc7f24
|
@ -106,7 +106,8 @@ class GuiAutoImport (threading.Thread):
|
|||
"""Callback for timer to do an import iteration."""
|
||||
if self.doAutoImportBool:
|
||||
self.importer.runUpdated()
|
||||
print "GuiAutoImport.import_dir done"
|
||||
sys.stdout.write(".")
|
||||
sys.stdout.flush()
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
|
|
@ -320,7 +320,7 @@ class Importer:
|
|||
sys.exit(0)
|
||||
startpos=endpos
|
||||
ttime = time() - starttime
|
||||
print "Total stored:", stored, "duplicates:", duplicates, "partial:", partial, "errors:", errors, " time:", ttime
|
||||
print "\rTotal stored:", stored, "duplicates:", duplicates, "partial:", partial, "errors:", errors, " time:", ttime
|
||||
|
||||
if stored==0:
|
||||
if duplicates>0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user