Compare commits

..

No commits in common. "a44e619d096ef29773b05768fd5e85695d18d323" and "cecd4f770f93687b47bc08436d3c139390cfed95" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@ Restart=always
User=dd
Group=dd
WorkingDirectory=/srv/dd/re
ExecStartPre=/usr/bin/wait-for-it -h pandora.dmp -p 80
ExecStart=/srv/dd/re/server.py
[Install]

View file

@ -49,7 +49,7 @@ class Engine:
playlists = playlists[channels['keywords']:]
# Count tags for the user
count = {}
for event in user.get('events', []):
for event in user['events']:
if 'product' in event['data']:
count[event['data']['product']] = count.get(
event['data']['product'], 0