Permalink
Browse files

Fix typo/bug in error path of csv2html.py (#78)

  • Loading branch information...
cclauss authored and andychu committed Feb 2, 2018
1 parent 99e85e9 commit 3fd2924e6dc458d56af6123c54405ef607745e28
Showing with 2 additions and 2 deletions.
  1. +2 −2 web/table/csv2html.py
View
@@ -299,8 +299,8 @@ def main(argv):
if opts.schema:
try:
schema_f = open(opts.schema)
except IOError:
raise RuntimeError('Error opening %s: %s' % (opts.schema, f))
except IOError as e:
raise RuntimeError('Error opening %s: %s' % (opts.schema, e))
else:
schema_path = csv_path.replace('.csv', '.schema.csv')
log('schema path %s', schema_path)

0 comments on commit 3fd2924

Please sign in to comment.