forked from indymedia/epicyon
Only show tags that exist
parent
d2f8d916f7
commit
f45f6235d0
3
utils.py
3
utils.py
|
@ -69,7 +69,8 @@ def getHashtagCategories(baseDir: str, recent=False, category=None) -> None:
|
||||||
|
|
||||||
if recent:
|
if recent:
|
||||||
tagsFilename = baseDir + '/tags/' + hashtag + '.txt'
|
tagsFilename = baseDir + '/tags/' + hashtag + '.txt'
|
||||||
if os.path.isfile(tagsFilename):
|
if not os.path.isfile(tagsFilename):
|
||||||
|
continue
|
||||||
modTimesinceEpoc = \
|
modTimesinceEpoc = \
|
||||||
os.path.getmtime(tagsFilename)
|
os.path.getmtime(tagsFilename)
|
||||||
lastModifiedDate = \
|
lastModifiedDate = \
|
||||||
|
|
Loading…
Reference in New Issue