Browse Source

prepend to insert

Schultz 8 years ago
parent
commit
7d75ec9e8c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gitstats

+ 1
- 1
gitstats View File

1023
             f.write('<p class="moreauthors">Only top %d authors shown</p>' % conf['max_authors'])
1023
             f.write('<p class="moreauthors">Only top %d authors shown</p>' % conf['max_authors'])
1024
 
1024
 
1025
         authorsHEADERS=[str(author) for author in allauthors]
1025
         authorsHEADERS=[str(author) for author in allauthors]
1026
-        authorsHEADERS.prepend("date")
1026
+        authorsHEADERS.insert(0,"date")
1027
 
1027
 
1028
         # writes headers for both files, should have the same file
1028
         # writes headers for both files, should have the same file
1029
         writeHeaderstoNewTSV("FlaskTest/static/data/lines_of_code_by_author_TEST.tsv",authorsHEADERS)
1029
         writeHeaderstoNewTSV("FlaskTest/static/data/lines_of_code_by_author_TEST.tsv",authorsHEADERS)