Browse Source

211231 log_scan chdir

yukyo0821 3 years ago
parent
commit
4ee6f5629f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/log_scan.py

+ 2 - 1
tools/log_scan.py

@@ -41,7 +41,8 @@ for gid in git_ids:
 pypath = __file__[0:__file__.replace("\\","/").rfind("/")]
 pypath = __file__[0:__file__.replace("\\","/").rfind("/")]
 print(pypath)
 print(pypath)
 
 
-os.system("cd " + pypath + "/..")
+os.chdir(pypath + "/..")
+#os.system("cd " + pypath + "/..")
 #os.system("cd ..")
 #os.system("cd ..")
 os.system("git pull")
 os.system("git pull")