mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
Adjust logic for changing source label
This commit is contained in:
@@ -152,7 +152,7 @@ class ETLController:
|
||||
logger.info(f"Found matching DB entry for {obj}: {instance}")
|
||||
|
||||
if type(obj) == Channel:
|
||||
if obj.source != instance.source and obj.source == 'linked_channel' and instance.source != 'researcher':
|
||||
if obj.source != instance.source and obj.source == 'linked_channel' and instance.source != 'researcher' and (instance.source is None or instance.source[:4] != 'snow'):
|
||||
logger.info(f"Updating source to linked channel")
|
||||
instance.source = obj.source
|
||||
instance.notes = obj.notes
|
||||
|
||||
Reference in New Issue
Block a user