1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-12-23 00:52:10 +00:00

Update nxdt_host.py

This commit is contained in:
Pablo Curiel 2021-03-11 20:40:27 -04:00
parent 0ec60092df
commit 08fbdb862d

View file

@ -530,7 +530,7 @@ def main():
os.mkdir(g_outputDir)
else:
# Create 'nxdumptool' subdirectory in the directory where the script is located.
g_outputDir = (sys.path[0] + os.path.sep + 'nxdumptool')
g_outputDir = (os.path.abspath(os.path.dirname(__file__)) + os.path.sep + 'nxdumptool')
if os.path.exists(g_outputDir) == False:
os.mkdir(g_outputDir)