Fix handling of objects from unwanted streams
This commit is contained in:
parent
20ce69b337
commit
bb7d8018c6
|
@ -403,7 +403,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
|
|||
try:
|
||||
self.object.checkStream()
|
||||
except BMObjectUnwantedStreamError:
|
||||
acceptmismatch = config.get(
|
||||
acceptmismatch = config.getboolean(
|
||||
"inventory", "acceptmismatch")
|
||||
BMProto.stopDownloadingObject(
|
||||
self.object.inventoryHash, acceptmismatch)
|
||||
|
|
Reference in New Issue
Block a user