|
|
@@ -438,9 +438,8 @@ class HTMLReportCreator(ReportCreator):
|
|
438
|
438
|
|
|
439
|
439
|
# copy static files if they do not exist
|
|
440
|
440
|
for file in ('gitstats.css', 'sortable.js', 'arrow-up.gif', 'arrow-down.gif', 'arrow-none.gif'):
|
|
441
|
|
- if not os.path.exists(path + '/' + file):
|
|
442
|
|
- basedir = os.path.dirname(os.path.abspath(__file__))
|
|
443
|
|
- shutil.copyfile(basedir + '/' + file, path + '/' + file)
|
|
|
441
|
+ basedir = os.path.dirname(os.path.abspath(__file__))
|
|
|
442
|
+ shutil.copyfile(basedir + '/' + file, path + '/' + file)
|
|
444
|
443
|
|
|
445
|
444
|
f = open(path + "/index.html", 'w')
|
|
446
|
445
|
format = '%Y-%m-%d %H:%m:%S'
|