aboutsummaryrefslogtreecommitdiff
path: root/extract.py
diff options
context:
space:
mode:
Diffstat (limited to 'extract.py')
-rwxr-xr-xextract.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extract.py b/extract.py
index f3c19c1..c7e35b9 100755
--- a/extract.py
+++ b/extract.py
@@ -15,6 +15,7 @@ import trac2md
wiki_query = '''
SELECT
name,
+ author,
version,
time / 1000000 AS time,
text
@@ -79,7 +80,7 @@ def markdown_header(row, first_published):
else:
modtime = ""
first_published[row.name] = row.isotime
- return "Title: {}\nDate: {}\n{}\n".format(row.name, first_published[row.name], modtime)
+ return "Title: {}\nAuthor: {}\nDate: {}\n{}\n".format(row.name, row.author, first_published[row.name], modtime)
def main():