Explorar el Código

Change second argument into absolute path if it is not.

Heikki Hokkanen hace 18 años
padre
commit
7e3db43b7e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      statgit

+ 1
- 1
statgit Ver fichero

@@ -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