Skip to content

Commit

Permalink
fixed osc less <path>
Browse files Browse the repository at this point in the history
  • Loading branch information
lethliel committed Apr 26, 2018
1 parent e309a07 commit a6627de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8261,7 +8261,7 @@ def do_cat(self, subcmd, opts, *args):
u = makeurl(apiurl, ['source', project, package, filename], query=query)
if subcmd == 'less':
f = http_GET(u)
run_pager(''.join(f.readlines()))
run_pager(b''.join(f.readlines()))
else:
for data in streamfile(u):
if isinstance(data, str):
Expand Down

0 comments on commit a6627de

Please sign in to comment.