From 7acb3587e04ffc927bc38348f73d05d8053203a9 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 29 May 2022 18:09:36 +0300 Subject: [PATCH] Updated progress bar message --- slpkg/models/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/models/models.py b/slpkg/models/models.py index b83a968e..37de4dc8 100644 --- a/slpkg/models/models.py +++ b/slpkg/models/models.py @@ -72,7 +72,7 @@ class Database: sbo_file = self.open_file(f"{self.lib_path}sbo_repo/SLACKBUILDS.TXT") - bar = Bar("Database sbo creating", max=len(sbo_file), + bar = Bar("Creating sbo database", max=len(sbo_file), suffix="%(percent)d%% - %(eta)ds") cache = [] # init cache @@ -93,7 +93,7 @@ class Database: (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""".format( self.table_name), values) self.con.commit() - cache = [] # reset cache after line + cache = [] # reset cache after 11 lines bar.next() bar.finish() self.con.close()