mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated progress bar message
This commit is contained in:
parent
79f4355913
commit
7acb3587e0
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue