Remove incorrect settings meta upload disable flag
This allows core to retry sending settings meta after a failed attempt
@@ -152,7 +152,6 @@ class SkillSettings(dict):
self._poll_timer = None
self._blank_poll_timer = None
self._is_alive = True
- self._meta_upload = True # Flag allowing upload of settings meta
# Add Information extracted from the skills-meta.json entry for the
# skill.
@@ -294,14 +293,13 @@ class SkillSettings(dict):
Returns:
dict: uuid, a unique id for the setting meta data
"""
- if self._meta_upload:
try:
uuid = self.api.upload_skill_metadata(
self._type_cast(settings_meta, to_platform='web'))
return uuid
except HTTPError as e:
if e.response.status_code in [422, 500, 501]:
- self._meta_upload = False
+ LOG.info(e.response.status_code)
raise DelayRequest
else:
LOG.error(e)
