Missing quote

master
Bob Mottram 2019-07-02 18:20:15 +01:00
parent c71de9e83f
commit f52fea680d
1 changed files with 6 additions and 6 deletions

View File

@ -20,8 +20,8 @@ def followPerson(baseDir: str,username: str, domain: str, followUsername: str, f
return False
handle=username.lower()+'@'+domain.lower()
handleToFollow=followUsername.lower()+'@'+followDomain.lower()
if not os.path.isdir(baseDir+'/accounts):
os.mkdir(baseDir+'/accounts)
if not os.path.isdir(baseDir+'/accounts'):
os.mkdir(baseDir+'/accounts')
if not os.path.isdir(baseDir+'/accounts/'+handle):
os.mkdir(baseDir+'/accounts/'+handle)
filename=baseDir+'/accounts/'+handle+'/'+followFile
@ -45,8 +45,8 @@ def unfollowPerson(baseDir: str,username: str, domain: str, followUsername: str,
"""
handle=username.lower()+'@'+domain.lower()
handleToUnfollow=followUsername.lower()+'@'+followDomain.lower()
if not os.path.isdir(baseDir+'/accounts):
os.mkdir(baseDir+'/accounts)
if not os.path.isdir(baseDir+'/accounts'):
os.mkdir(baseDir+'/accounts')
if not os.path.isdir(baseDir+'/accounts/'+handle):
os.mkdir(baseDir+'/accounts/'+handle)
filename=baseDir+'/accounts/'+handle+'/'+followFile
@ -69,8 +69,8 @@ def clearFollows(baseDir: str,username: str, domain: str,followFile='following.t
"""Removes all follows
"""
handle=username.lower()+'@'+domain.lower()
if not os.path.isdir(baseDir+'/accounts):
os.mkdir(baseDir+'/accounts)
if not os.path.isdir(baseDir+'/accounts'):
os.mkdir(baseDir+'/accounts')
if not os.path.isdir(baseDir+'/accounts/'+handle):
os.mkdir(baseDir+'/accounts/'+handle)
filename=baseDir+'/accounts/'+handle+'/'+followFile