diff --git a/calibre_tools.py b/calibre_tools.py index 8edbfbe..be647be 100644 --- a/calibre_tools.py +++ b/calibre_tools.py @@ -74,7 +74,6 @@ class CalibreTools: TerminalInterface.appendInterface("Info", "Downloading Books " + str(downloaded_books) + " out of " + str(len(download_links)), 2) else: TerminalInterface.runInterfaceSchedule() - time.sleep(0.2) @staticmethod def getBooksLink(ip_port, library_name, multiple, max=None): @@ -110,7 +109,7 @@ class CalibreTools: if not os.path.exists(directory_name + "/" + filename): TerminalInterface.appendInterface("Info", f"Thread-{line-3} Downloading {filename}", line) urlretrieve(link, directory_name + "/" + filename) - TerminalInterface.appendInterface("Info", f"Thread-{line-3} Completed", line) + TerminalInterface.appendInterface("Success", f"Thread-{line-3} Completed", line) elif not int(filesize) == os.path.getsize(directory_name + "/" + filename): TerminalInterface.appendInterface("Warning", f'Thread-{line-3} Filesize does not match... Downloading file. {filename}', line) os.remove(directory_name + "/" + filename)