| |
@@ -9214,7 +9214,7 @@
|
| |
if not os.path.isfile(filePath):
|
| |
raise koji.GenericError('no file "%s" output by task %i' % (fileName, taskID))
|
| |
# Let the caller handler any IO or permission errors
|
| |
- with open(filePath, 'r') as f:
|
| |
+ with open(filePath, 'rb') as f:
|
| |
if isinstance(offset, str):
|
| |
offset = int(offset)
|
| |
if offset != None and offset > 0:
|
| |
Fixes: https://pagure.io/koji/issue/1289