Bugfix: Paths are now relative to the current dir

* They were relative to the script's dir before
This commit is contained in:
2Shirt 2018-07-20 17:53:09 -06:00
parent 281607f3e4
commit 37734e65bf
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -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()