aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-05-20 18:57:16 +0000
committerNick Mathewson <nickm@torproject.org>2003-05-20 18:57:16 +0000
commit7f2c5556af19c7d3e68baa421c4d28d32916fb21 (patch)
treef1788d231fcbc0163e71307d9803a4a9247f20d9
parent88b3048fb362fc83050303a76bf3d4236111f397 (diff)
downloadanonbib-7f2c5556af19c7d3e68baa421c4d28d32916fb21.tar.gz
A better route to non-breaking section names.
svn:r16
-rw-r--r--writeHTML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writeHTML.py b/writeHTML.py
index c1d6935..3c25500 100644
--- a/writeHTML.py
+++ b/writeHTML.py
@@ -106,7 +106,7 @@ except ValueError:
last_year = int(entries[-2][1][0].get('year'))
years = map(str, range(first_year, last_year+1))
-if entries[-1][0] == 'Unknown':
+if entries[-1][0] == 'year:??'
years.append("Unknown")
f = open(os.path.join(config.OUTPUT_DIR,"date.html"), 'w')