forked from cmccabe/linkulator2
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
asdf | 34bd525b82 | |
fzzyyti | 0fd31970ef |
|
@ -74,7 +74,10 @@ def print_category_details(view_cat):
|
|||
for link in category_details:
|
||||
link_count += 1
|
||||
thread_index[link_count] = link["postid"]
|
||||
desc = textwrap.shorten(link["description"], width=desclen, placeholder="...")
|
||||
if(desclen > 0):
|
||||
desc = textwrap.shorten(link["description"], width=desclen, placeholder="...")
|
||||
else:
|
||||
desc = link["description"]
|
||||
newmarker = (
|
||||
"*" if link["last_modified_timestamp"] >= config.USER.lastlogin else ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue