fix attribute error when reflector component is disabled
This commit is contained in:
parent
17a9cfd65c
commit
108d2a033b
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class SQLiteStorage(object):
|
||||||
# change to the associated content claim occurs. these are added by the file manager
|
# change to the associated content claim occurs. these are added by the file manager
|
||||||
# when it loads each file
|
# when it loads each file
|
||||||
self.content_claim_callbacks = {} # {<stream_hash>: <callable returning a deferred>}
|
self.content_claim_callbacks = {} # {<stream_hash>: <callable returning a deferred>}
|
||||||
|
self.check_should_announce_lc = None
|
||||||
if 'reflector' not in conf.settings['components_to_skip']:
|
if 'reflector' not in conf.settings['components_to_skip']:
|
||||||
self.check_should_announce_lc = task.LoopingCall(self.verify_will_announce_all_head_and_sd_blobs)
|
self.check_should_announce_lc = task.LoopingCall(self.verify_will_announce_all_head_and_sd_blobs)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue