mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-30 02:39: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"""
|
"""Main entry point"""
|
||||||
def main(stdscr):
|
def main(stdscr):
|
||||||
try :
|
try :
|
||||||
|
moveToScriptFolder()
|
||||||
init_log()
|
init_log()
|
||||||
config()
|
config()
|
||||||
init_curses()
|
init_curses()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue