mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Convertng ObjectId to str
This commit is contained in:
parent
d11e57c363
commit
29d0259a3f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class MPopularityQuery(mongo.Document):
|
|||
return "%s - \"%s\"" % (self.email, self.query)
|
||||
|
||||
def queue_email(self):
|
||||
EmailPopularityQuery.delay(pk=self.pk)
|
||||
EmailPopularityQuery.delay(pk=str(self.pk))
|
||||
|
||||
@classmethod
|
||||
def ensure_all_sent(cls, queue=True):
|
||||
|
|
Loading…
Add table
Reference in a new issue