Merge branch '7-harvest-source-templates' of github.com:okfn/ckanext-harvest into 7-harvest-source-templates
This commit is contained in:
commit
49a1c467cf
|
@ -212,7 +212,7 @@ def fetch_callback(channel, method, header, body):
|
||||||
.all()) == 2:
|
.all()) == 2:
|
||||||
obj.report_status = 'updated'
|
obj.report_status = 'updated'
|
||||||
else:
|
else:
|
||||||
obj.report_status = 'new'
|
obj.report_status = 'added'
|
||||||
obj.save()
|
obj.save()
|
||||||
|
|
||||||
channel.basic_ack(method.delivery_tag)
|
channel.basic_ack(method.delivery_tag)
|
||||||
|
|
Loading…
Reference in New Issue