Fix typos

This commit is contained in:
Dimitris Apostolou 2022-01-02 13:59:17 +02:00
parent 0bbf19aab9
commit 6f76383c56
No known key found for this signature in database
GPG key ID: 4B5D20E938204A8A
56 changed files with 131 additions and 131 deletions

View file

@ -202,9 +202,9 @@ class UiWebsocketPlugin(object):
class SiteStoragePlugin(object):
def updateDbFile(self, inner_path, file=None, cur=None):
if file is not False: # File deletion always allowed
# Find for bitcoin addresses in file path
# Find bitcoin addresses in file path
matches = re.findall("/(1[A-Za-z0-9]{26,35})/", inner_path)
# Check if any of the adresses are in the mute list
# Check if any of the addresses are in the mute list
for auth_address in matches:
if filter_storage.isMuted(auth_address):
self.log.debug("Mute match: %s, ignoring %s" % (auth_address, inner_path))

View file

@ -144,7 +144,7 @@ class ContentFilterStorage(object):
return details
# Search and remove or readd files of an user
# Search and remove or re-add files of a user
def changeDbs(self, auth_address, action):
self.log.debug("Mute action %s on user %s" % (action, auth_address))
res = list(self.site_manager.list().values())[0].content_manager.contents.db.execute(