@@ -2537,6 +2537,7 @@ class InitInfoView(View):
if m_code[:4] == 'iOS_':
m_code = m_code[4:]
if all([token_val, push_type, appBundleId, userID]):
+ push_type = int(push_type)
self.save_push_config(userID, appBundleId, push_type, token_val, m_code, lang, tz)
self.save_or_creat_uid_push(userID, appBundleId, push_type, token_val, m_code, lang, tz, now_time,
jg_token_val)