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:
|
try:
|
||||||
self.object.checkStream()
|
self.object.checkStream()
|
||||||
except BMObjectUnwantedStreamError:
|
except BMObjectUnwantedStreamError:
|
||||||
acceptmismatch = config.get(
|
acceptmismatch = config.getboolean(
|
||||||
"inventory", "acceptmismatch")
|
"inventory", "acceptmismatch")
|
||||||
BMProto.stopDownloadingObject(
|
BMProto.stopDownloadingObject(
|
||||||
self.object.inventoryHash, acceptmismatch)
|
self.object.inventoryHash, acceptmismatch)
|
||||||
|
|
Reference in New Issue
Block a user