diff --git a/shares.py b/shares.py index c7bb5412f..0939c8b20 100644 --- a/shares.py +++ b/shares.py @@ -113,7 +113,6 @@ def removeSharedItem(baseDir: str, nickname: str, domain: str, print('ERROR: shares.json could not be loaded from ' + sharesFilename) return - actor = httpPrefix + '://' + domainFull + '/users/' + nickname if sharesJson.get(itemID): # remove any image for the item itemIDfile = baseDir + '/sharefiles/' + nickname + '/' + itemID diff --git a/webapp_confirm.py b/webapp_confirm.py index fc9a15f9c..bc6ce6784 100644 --- a/webapp_confirm.py +++ b/webapp_confirm.py @@ -20,7 +20,6 @@ from utils import acctDir from webapp_utils import htmlHeaderWithExternalStyle from webapp_utils import htmlFooter from webapp_post import individualPostAsHtml -from shares import getValidSharedItemID def htmlConfirmDelete(cssCache: {},