def subscription_styles_get(plan, ver): styles = settings.local.sub_styles[plan] return utils.styles_response( styles['etag'], styles['last_modified'], styles['data'], )
def subscription_styles_get(plan, ver): styles = settings.local.sub_styles[plan] return utils.styles_response( styles['etag'], styles['last_modified'], styles['data'], )
def subscription_styles_get(plan, ver): try: styles = settings.local.sub_styles[plan] except KeyError: subscription.update() styles = settings.local.sub_styles[plan] return utils.styles_response( styles['etag'], styles['last_modified'], )
def subscription_styles_get(plan, ver): try: styles = settings.local.sub_styles[plan] except KeyError: subscription.update() styles = settings.local.sub_styles[plan] return utils.styles_response( styles['etag'], styles['last_modified'], styles['data'], )