Explorar o código

211231 log_scan chdir

yukyo0821 %!s(int64=3) %!d(string=hai) anos
pai
achega
4ee6f5629f
Modificáronse 1 ficheiros con 2 adicións e 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")