aboutsummaryrefslogtreecommitdiff
path: root/extract.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-02-15 07:18:12 +0000
committerRob Austein <sra@hactrn.net>2021-02-15 07:18:12 +0000
commitdd255ef58a617214ea3ece613c417af1fc1549ec (patch)
tree2c427130fd2c90f92d478535e64a125c38cb5fef /extract.py
parent3bfd6f7d2c45b44ae3ef0616f40368d59eae0c68 (diff)
Authors
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():