Skip to content

Commit

Permalink
Fix handling of objects from unwanted streams
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSurda committed Jul 31, 2022
1 parent 20ce69b commit bb7d801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/bmproto.py
Expand Up @@ -403,7 +403,7 @@ def bm_command_object(self):
try:
self.object.checkStream()
except BMObjectUnwantedStreamError:
acceptmismatch = config.get(
acceptmismatch = config.getboolean(
"inventory", "acceptmismatch")
BMProto.stopDownloadingObject(
self.object.inventoryHash, acceptmismatch)
Expand Down

0 comments on commit bb7d801

Please sign in to comment.