Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Feb 16, 2024
1 parent 7b6c66f commit 8bc6bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wis2box_api/plugins/process/csv2bufr.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def execute(self, data):

if not os.path.isfile(template):
lt = c2bt.list_templates()
tn = [ x['name'] for x in lt.values()]
tn = [x['name'] for x in lt.values()]
if template not in tn:
raise Exception(f"Unknown template: {template}, options are: {', '.join(tn)}") # noqa
mappings = c2bt.load_template(template)
Expand Down

0 comments on commit 8bc6bf4

Please sign in to comment.