Skip to content

Commit

Permalink
Fixed blockfeeder ignoring block size bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 23, 2016
1 parent 9165de6 commit dc0c9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaes/blockfeeder.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _feed_stream(feeder, in_stream, out_stream, block_size = BLOCK_SIZE):
'Uses feeder to read and convert from in_stream and write to out_stream.'

while True:
chunk = in_stream.read(BLOCK_SIZE)
chunk = in_stream.read(block_size)
if not chunk:
break
converted = feeder.feed(chunk)
Expand Down

0 comments on commit dc0c9ac

Please sign in to comment.