mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
add logs
This commit is contained in:
parent
6c831b1e01
commit
27710ff92d
3 changed files with 82 additions and 25 deletions
|
@ -31,7 +31,6 @@ def printDeviceInfo(dev):
|
|||
print('Serial: %s' % dev.get("ID_SERIAL"))
|
||||
print('Model: %s' % dev.get("ID_MODEL_ID"))
|
||||
print(os.stat(dev.get("DEVNAME")))
|
||||
|
||||
print("</BLOCK INFORMATION>")
|
||||
print("")
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ def updateBar(progress):
|
|||
global progress_win
|
||||
pos = (60 * progress) // 100
|
||||
if pos != 0 :
|
||||
progress_win.addstr(1, pos, "{}".format("#"))
|
||||
progress_win.addstr(1, pos, "#")
|
||||
progress_win.refresh()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue