fix: git_helper's tqdm encoding error

This commit is contained in:
Dr.Lt.Data
2023-11-06 09:57:30 +09:00
parent ec61a3029f
commit 332e4e2856
3 changed files with 14 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ working_directory = os.getcwd()
class GitProgress(RemoteProgress):
def __init__(self):
super().__init__()
self.pbar = tqdm()
self.pbar = tqdm(ascii=True)
def update(self, op_code, cur_count, max_count=None, message=''):
self.pbar.total = max_count