Bugfix: Paths are now relative to the current dir
* They were relative to the script's dir before
This commit is contained in:
parent
281607f3e4
commit
37734e65bf
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ import os
|
|||
import sys
|
||||
|
||||
# Init
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
sys.path.append(os.getcwd())
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
from functions.ddrescue import *
|
||||
from functions.hw_diags import *
|
||||
init_global_vars()
|
||||
|
|
|
|||
Loading…
Reference in a new issue