diff --git a/webinterface.py b/webinterface.py index 5a46af6e..6a81e8ec 100644 --- a/webinterface.py +++ b/webinterface.py @@ -540,7 +540,7 @@ def htmlEditProfile(translate: {},baseDir: str,path: str,domain: str,port: int) elif actorJson['type']=='Group': isGroup='checked' isBot='' - if os.path.isfile(actorFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/.followDMs'): + if os.path.isfile(baseDir+'/accounts/'+nickname+'@'+domain+'/.followDMs'): followDMs='checked' filterStr=''