summaryrefslogtreecommitdiffstats
path: root/www/gen_sched_table.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/gen_sched_table.py')
-rwxr-xr-xwww/gen_sched_table.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/gen_sched_table.py b/www/gen_sched_table.py
index 6d7e661..7cc4050 100755
--- a/www/gen_sched_table.py
+++ b/www/gen_sched_table.py
@@ -8,16 +8,16 @@ months = ['January', 'February', 'March', 'April', 'May', 'June', 'July',
print '<table>'
def row(*cells, **kw):
- tr = kw.get('tr','tr')
+ td = kw.get('tr','td')
print ' <tr>'
for cell in cells:
- print ' <%s>%s</%s>' % (tr,cell,tr)
+ print ' <%s>%s</%s>' % (td,cell,td)
print ' </tr>'
row('Estimated date', 'Type', 'Name', 'Comments', tr = 'th')
if len(sys.argv) > 1:
f = open(sys.argv[1])
-else: f = open('Schedule')
+else: f = open('schedule')
now = None
current = 'UNKNOWN'
for line in f: