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:
parent
0ec60092df
commit
08fbdb862d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue