cleanup
This commit is contained in:
2
main.py
2
main.py
@@ -34,11 +34,9 @@ flags.DEFINE_string("archival_storage_sqldb", default="", required=False, help="
|
||||
|
||||
|
||||
def clear_line():
|
||||
# print(f"os.name = {os.name}")
|
||||
if os.name == 'nt': # for windows
|
||||
console.print("\033[A\033[K", end="")
|
||||
else: # for linux
|
||||
# console.print("\033[2K\033[G", end="")
|
||||
sys.stdout.write("\033[2K\033[G")
|
||||
sys.stdout.flush()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user