Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuzminov committed Aug 28, 2021
1 parent e89d9a1 commit c026db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/sourcecache.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ def _open(self, path_or_uri, mode, encoding=None):
return io.BytesIO(git_content(path_or_uri).encode())

try:
return open(path_or_uri, mode, encoding=encoding)
return open(path_or_uri, mode)
except Exception as e:
raise WorkflowError("Failed to open source file {}".format(path_or_uri), e)

0 comments on commit c026db6

Please sign in to comment.