Fix bug with empty config
This commit is contained in:
parent
c80e68a12f
commit
54de6759fe
|
@ -57,6 +57,9 @@ class CKANHarvester(HarvesterBase):
|
|||
}
|
||||
|
||||
def validate_config(self,config):
|
||||
if not config:
|
||||
return config
|
||||
|
||||
try:
|
||||
config_obj = json.loads(config)
|
||||
except ValueError,e:
|
||||
|
|
Loading…
Reference in New Issue