瀏覽代碼

path errors

Schultz 8 年之前
父節點
當前提交
2e3327d9c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      gitstats

+ 1
- 1
gitstats 查看文件

1583
         outputpath = os.path.abspath(args[-1])
1583
         outputpath = os.path.abspath(args[-1])
1584
 
1584
 
1585
         # execute git2json for top files
1585
         # execute git2json for top files
1586
-        os.system("git2json > ~"+os.path.abspath(args[-1])+"/top_committed_files.json")
1586
+        os.system("git2json > '"+os.path.abspath(args[-1])+"/top_committed_files.json'")
1587
 
1587
 
1588
         rundir = os.getcwd()
1588
         rundir = os.getcwd()
1589
 
1589