Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e5cd90 + c18fd98 commit f4f0596Copy full SHA for f4f0596
1 file changed
ckan/model/__init__.py
@@ -223,6 +223,9 @@ def init_db(self):
223
celery_session.ResultModelBase.metadata.create_all(engine)
224
except ImportError:
225
pass
226
+ except AttributeError:
227
+ log.info('Avoiding Attribute error after adding celery app config to production.ini file')
228
+ pass
229
230
self.init_configuration_data()
231
self.tables_created_and_initialised = True
0 commit comments