Commit 70705eff authored by Marko Kuder's avatar Marko Kuder
Browse files

fixed bug with non-working notifications

parent dcabbfdb
......@@ -8,7 +8,7 @@ from ckan.lib.celery_app import celery
log = logging.getLogger(__name__)
def create_archiver_resource_task(resource, queue, force):
def create_archiver_resource_task(resource, queue, force=False):
from pylons import config
if p.toolkit.check_ckan_version(max_version='2.2.99'):
# earlier CKANs had ResourceGroup
......@@ -24,7 +24,7 @@ def create_archiver_resource_task(resource, queue, force):
queue, package.name, resource.id, resource.url)
def create_archiver_package_task(package, queue, force):
def create_archiver_package_task(package, queue, force=False):
from pylons import config
task_id = '%s/%s' % (package.name, make_uuid()[:4])
ckan_ini_filepath = os.path.abspath(config['__file__'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment