@@ -391,8 +391,11 @@ def boss_panel_summary(user_id,start,end,channel,pitcher, type, stage, page, pag
if user_id in super_auth():
op = ''
else:
- if len(UserAuthUtils.get_auth_channel(user_id)) == 0:
+ x = UserAuthUtils.get_auth_channel(user_id)
+ if len(x) == 0:
return None, None
+ elif len(x) == 1:
+ op = f" and channel ='{x[0]}'"
op = f" and channel in {str(UserAuthUtils.get_auth_channel(user_id))}"