Skip to content

Commit

Permalink
copy file binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Feb 6, 2024
1 parent 7692e9b commit 62e5f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exasol/toolbox/tools/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def _install_workflow(
raise FileExistsError("Workflow already exists")

with ExitStack() as stack:
input_file = stack.enter_context(open(src))
output_file = stack.enter_context(open(dest, "w"))
input_file = stack.enter_context(open(src, "rb"))
output_file = stack.enter_context(open(dest, "wb"))
output_file.write(input_file.read())


Expand Down

0 comments on commit 62e5f7e

Please sign in to comment.