Feature/gui

This commit is contained in:
Mr Finchum 2024-12-30 20:19:49 +00:00
parent c36ab9b733
commit 1512e8efeb
15 changed files with 2328 additions and 299 deletions

View file

@ -34,7 +34,6 @@ class Utilities:
def progress_bar(self, current, total, barsize = 50):
if current > total:
print("\033[91mThis bar has exceeded its limits!\033[0m Maybe the current value needs some restraint?")
print(f"{(current - total) * '\033[92mHonk, Honk!\033[0m '}")
return
progress = int((barsize / total) * current)
rest = barsize - progress