소스 검색

211231 log_scan chdir

yukyo0821 3 년 전
부모
커밋
4ee6f5629f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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")