mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
971779db9b
commit
ffe9ffcb6f
@ -935,7 +935,8 @@ class BasicNewsRecipe(Recipe):
|
|||||||
npos = pos
|
npos = pos
|
||||||
ans = src[:npos+1]
|
ans = src[:npos+1]
|
||||||
if len(ans) < len(src):
|
if len(ans) < len(src):
|
||||||
return ans+u'\u2026' if isinstance(ans, unicode) else ans + '...'
|
return (ans+u'\u2026') if isinstance(ans, unicode) else (ans +
|
||||||
|
'...')
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
def feed2index(self, f, feeds):
|
def feed2index(self, f, feeds):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user