mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
add logo
This commit is contained in:
parent
a9152b5746
commit
a98623c373
2 changed files with 14 additions and 4 deletions
|
@ -178,7 +178,7 @@ class PandoraBox:
|
||||||
self.status_win.addstr(3, 1, "Used : ",curses.color_pair(2))
|
self.status_win.addstr(3, 1, "Used : ",curses.color_pair(2))
|
||||||
else:
|
else:
|
||||||
self.status_win.addstr(3, 1, "Used : %s " % label,curses.color_pair(2))
|
self.status_win.addstr(3, 1, "Used : %s " % label,curses.color_pair(2))
|
||||||
logging.info("used=%s" % label)
|
logging.info(f'used="{label}')
|
||||||
self.status_win.refresh()
|
self.status_win.refresh()
|
||||||
|
|
||||||
def print_fstype(self, label):
|
def print_fstype(self, label):
|
||||||
|
@ -279,12 +279,12 @@ class PandoraBox:
|
||||||
)
|
)
|
||||||
|
|
||||||
logs = []
|
logs = []
|
||||||
def log(self, str):
|
def log(self, msg):
|
||||||
"""log something"""
|
"""log something"""
|
||||||
logging.info(str)
|
logging.info(msg)
|
||||||
if self.has_curses:
|
if self.has_curses:
|
||||||
# display log on screen
|
# display log on screen
|
||||||
self.logs.append(str)
|
self.logs.append(msg)
|
||||||
if len(self.logs)>(curses.LINES-22):
|
if len(self.logs)>(curses.LINES-22):
|
||||||
self.logs.pop(0)
|
self.logs.pop(0)
|
||||||
self.log_win.clear()
|
self.log_win.clear()
|
||||||
|
|
10
pandora-box.txt
Normal file
10
pandora-box.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
██▓███ ▄▄▄ ███▄ █ ▓█████▄ ▒█████ ██▀███ ▄▄▄ ▄▄▄▄ ▒█████ ▒██ ██▒
|
||||||
|
▓██░ ██▒▒████▄ ██ ▀█ █ ▒██▀ ██▌▒██▒ ██▒▓██ ▒ ██▒▒████▄ ▓█████▄ ▒██▒ ██▒▒▒ █ █ ▒░
|
||||||
|
▓██░ ██▓▒▒██ ▀█▄ ▓██ ▀█ ██▒░██ █▌▒██░ ██▒▓██ ░▄█ ▒▒██ ▀█▄ ▒██▒ ▄██▒██░ ██▒░░ █ ░
|
||||||
|
▒██▄█▓▒ ▒░██▄▄▄▄██ ▓██▒ ▐▌██▒░▓█▄ ▌▒██ ██░▒██▀▀█▄ ░██▄▄▄▄██ ▒██░█▀ ▒██ ██░ ░ █ █ ▒
|
||||||
|
▒██▒ ░ ░ ▓█ ▓██▒▒██░ ▓██░░▒████▓ ░ ████▓▒░░██▓ ▒██▒ ▓█ ▓██▒ ░▓█ ▀█▓░ ████▓▒░▒██▒ ▒██▒
|
||||||
|
▒▓▒░ ░ ░ ▒▒ ▓▒█░░ ▒░ ▒ ▒ ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ░▒▓███▀▒░ ▒░▒░▒░ ▒▒ ░ ░▓ ░
|
||||||
|
░▒ ░ ▒ ▒▒ ░░ ░░ ░ ▒░ ░ ▒ ▒ ░ ▒ ▒░ ░▒ ░ ▒░ ▒ ▒▒ ░ ▒░▒ ░ ░ ▒ ▒░ ░░ ░▒ ░
|
||||||
|
░░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░
|
||||||
|
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||||
|
░ ░
|
Loading…
Add table
Add a link
Reference in a new issue