Fix offline application

This commit is contained in:
Fierelier 2022-10-09 22:10:40 +02:00
parent 1b363a1701
commit b96a02e362
1 changed files with 1 additions and 1 deletions

2
run.py
View File

@ -174,7 +174,7 @@ def main():
for file in dirs:
ffile = p(userPath,file)
tfile = ffile.replace(opusnt.tmpPath + os.path.sep,"",1)
if opusnt.target["type"] == "online":
if opusnt.target["type"] in ["offline","online"]: # FIX THIS!
tfile = tfile.replace(opusnt.target["path"] + os.path.sep,"",1)
user = ffile.replace(userPath + os.path.sep,"",1)
if os.path.isfile(p(ffile,"ntuser.dat")):