mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-24 15:59:42 +02:00
work in progress
This commit is contained in:
parent
650bfbc5b5
commit
30bd482836
1 changed files with 6 additions and 0 deletions
|
@ -455,9 +455,15 @@ def scan(mount_point, used):
|
|||
|
||||
# --------------------------------------
|
||||
|
||||
def moveToScriptFolder():
|
||||
abspath = os.path.abspath(__file__)
|
||||
dname = os.path.dirname(abspath)
|
||||
os.chdir(dname)
|
||||
|
||||
"""Main entry point"""
|
||||
def main(stdscr):
|
||||
try :
|
||||
moveToScriptFolder()
|
||||
init_log()
|
||||
config()
|
||||
init_curses()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue