Explorar el Código

211231 log_scan chdir

yukyo0821 hace 3 años
padre
commit
4ee6f5629f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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("/")]
 print(pypath)
 
-os.system("cd " + pypath + "/..")
+os.chdir(pypath + "/..")
+#os.system("cd " + pypath + "/..")
 #os.system("cd ..")
 os.system("git pull")