mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-11-01 00:59:48 +00:00
Fixing story guid hash on user stories (and RS:# stores in redis.)
This commit is contained in:
parent
1b482a78c6
commit
5625168603
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class MUserStory(mongo.Document):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def guid_hash(self):
|
def guid_hash(self):
|
||||||
return hashlib.sha1(self.story_id).hexdigest()
|
return hashlib.sha1(self.story_id).hexdigest()[:6]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def feed_guid_hash(self):
|
def feed_guid_hash(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue