From 11aa595f559b6b22e4cf06ef5d5d01df80ad9457 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Jul 2021 15:30:51 +0100 Subject: [PATCH] Tidying --- shares.py | 1 - webapp_confirm.py | 1 - 2 files changed, 2 deletions(-) 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: {},