mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-03 07:12:48 +00:00
lib/cli.py: Open explore file as a binary
Fixes #1484 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
c8973d426b
commit
e393001095
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def outf(opts, decode):
|
|||
|
||||
|
||||
def dinf(opts, name):
|
||||
return open(os.path.join(opts['dir'], name))
|
||||
return open(os.path.join(opts['dir'], name), mode='rb')
|
||||
|
||||
|
||||
def decode(opts):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue