Commit f67c9472 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

my account only import json if needed

parent eced9a46
Pipeline #186226 passed with stages
in 16 minutes and 6 seconds
......@@ -100,12 +100,12 @@ def get_most_used_tags(group_list):
def index():
import json
start = time.time()
since = - timedelta(days=30)
if auth.is_admin() and 'data' in request.vars:
import json
group_list = json.loads(request.vars['data'])['group_ids']
group_list = [int( for g in auth.get_user_groups() + auth.get_user_group_parents()]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment