duuhh (?)
This commit is contained in:
parent
a05000a65a
commit
3645f4bcb6
7
run.py
7
run.py
|
@ -173,9 +173,10 @@ def main():
|
|||
for root,dirs,files in os.walk(userPath):
|
||||
for file in dirs:
|
||||
ffile = p(userPath,file)
|
||||
tfile = ffile.replace(opusnt.tmpPath + os.path.sep,"",1)
|
||||
if opusnt.target["type"] in ["offline","online"]: # FIX THIS!
|
||||
tfile = tfile.replace(opusnt.target["path"] + os.path.sep,"",1)
|
||||
if opusnt.target["type"] in ["offline","online"]:
|
||||
tfile = ffile.replace(opusnt.target["path"] + os.path.sep,"",1)
|
||||
else:
|
||||
tfile = ffile.replace(opusnt.tmpPath + os.path.sep,"",1)
|
||||
user = ffile.replace(userPath + os.path.sep,"",1)
|
||||
if os.path.isfile(p(ffile,"ntuser.dat")):
|
||||
regs["user-" +user] = p(tfile,"ntuser.dat")
|
||||
|
|
Loading…
Reference in New Issue