Compare commits
No commits in common. "a44e619d096ef29773b05768fd5e85695d18d323" and "cecd4f770f93687b47bc08436d3c139390cfed95" have entirely different histories.
a44e619d09
...
cecd4f770f
2 changed files with 1 additions and 2 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue