Skip to content

Commit

Permalink
byte literal needs a decode()
Browse files Browse the repository at this point in the history
  • Loading branch information
remiolsen committed Mar 16, 2018
1 parent f0d1f96 commit 71949cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nf_core/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ def check_config_vars(self):
raise AssertionError("`nextflow config` returned non-zero error code: %s,\n %s", e.returncode, e.output)
else:
for l in nfconfig_raw.splitlines():
k, v = str(l).split(' = ', 1)
ul = l.decode()
k, v = ul.split(' = ', 1)
self.config[k] = v
for cf in config_fail:
if cf in self.config.keys():
Expand Down

0 comments on commit 71949cc

Please sign in to comment.