forked from indymedia/epicyon
Strip name
parent
6df175a641
commit
619cc2b9cb
2
inbox.py
2
inbox.py
|
@ -84,7 +84,7 @@ def storeHashTags(baseDir: str,postJsonObject: {}) -> None:
|
||||||
continue
|
continue
|
||||||
if not tag.get('name'):
|
if not tag.get('name'):
|
||||||
continue
|
continue
|
||||||
tagName=tag['name'].replace('#','').replace("'",'')
|
tagName=tag['name'].replace('#','').strip()
|
||||||
tagsFilename=tagsDir+'/'+tagName+'.txt'
|
tagsFilename=tagsDir+'/'+tagName+'.txt'
|
||||||
postUrl=postJsonObject['id'].replace('/activity','').replace('/','#')
|
postUrl=postJsonObject['id'].replace('/activity','').replace('/','#')
|
||||||
if not os.path.isfile(tagsFilename):
|
if not os.path.isfile(tagsFilename):
|
||||||
|
|
Loading…
Reference in New Issue