소스 검색

Change second argument into absolute path if it is not.

Heikki Hokkanen 18 년 전
부모
커밋
7e3db43b7e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      statgit

+ 1
- 1
statgit 파일 보기

@@ -413,7 +413,7 @@ if len(sys.argv) <  3:
413 413
 	sys.exit(0)
414 414
 
415 415
 gitpath = sys.argv[1]
416
-outputpath = sys.argv[2]
416
+outputpath = os.path.abspath(sys.argv[2])
417 417
 
418 418
 print 'Git path: %s' % gitpath
419 419
 print 'Output path: %s' % outputpath