mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
parent
3bf03f076e
commit
3bc4c8faa8
1 changed files with 1 additions and 1 deletions
|
@ -1761,7 +1761,7 @@ class MSharedStory(mongo.DynamicDocument):
|
|||
@classmethod
|
||||
def share_popular_stories(cls, cutoff=None, days=None, interactive=True):
|
||||
publish_new_stories = False
|
||||
popular_profile = MSocialProfile.objects.get(user_id=User.objects.get(username='popular').pk)
|
||||
popular_profile = MSocialProfile.objects.get(username='popular')
|
||||
popular_user = User.objects.get(pk=popular_profile.user_id)
|
||||
week_ago = datetime.datetime.now() - datetime.timedelta(days=7)
|
||||
shared_feed_ids = [str(s.story_feed_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue