Strip name

merge-requests/6/head
Bob Mottram 2019-12-12 18:17:43 +00:00
parent 6df175a641
commit 619cc2b9cb
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def storeHashTags(baseDir: str,postJsonObject: {}) -> None:
continue
if not tag.get('name'):
continue
tagName=tag['name'].replace('#','').replace("'",'')
tagName=tag['name'].replace('#','').strip()
tagsFilename=tagsDir+'/'+tagName+'.txt'
postUrl=postJsonObject['id'].replace('/activity','').replace('/','#')
if not os.path.isfile(tagsFilename):