aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-18 19:32:15 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-18 19:32:15 -0400
commit590f15910bf32957feacab33567e9ab91e6eaefb (patch)
tree209055377f031f0c1c9b349c6869e34c2e985f0a
parenta51a40eaa0eab7ecc9522ce92624e31f80423aee (diff)
add .wiki suffix to output files
-rw-r--r--export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/export.py b/export.py
index a1d2ca7..f76394e 100644
--- a/export.py
+++ b/export.py
@@ -247,7 +247,7 @@ def export(data, name):
def filename(s):
s_ = re.sub('[^A-Za-z0-9_+.-]', '_', s)
assert s_, s
- return s_
+ return s_ + '.wiki'
def output(path, xs):
with open(path, 'w') as f: