diff options
| -rw-r--r-- | backend/views.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/views.py b/backend/views.py index 803d97c..556d9b2 100644 --- a/backend/views.py +++ b/backend/views.py @@ -137,13 +137,14 @@ def videos_response_str(videos): s = v.settings if s.get('removed', 0): continue - out += u"VIDEO\t%s\t%s\t%s\t%s\t%s\t%s\n" % ( + out += u"VIDEO\t%s\t%s\t%s\t%s\t%s\t%s\t%d\n" % ( str(v.id), str(datetime_to_timestamp(v.datetime)), str(v.user.id), v.user.username, s['url'], - s['title'] + s['title'], + v.sjlike_set.count() ) return out |
