mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
a5a6f2da89
commit
11aa595f55
|
@ -113,7 +113,6 @@ def removeSharedItem(baseDir: str, nickname: str, domain: str,
|
||||||
print('ERROR: shares.json could not be loaded from ' + sharesFilename)
|
print('ERROR: shares.json could not be loaded from ' + sharesFilename)
|
||||||
return
|
return
|
||||||
|
|
||||||
actor = httpPrefix + '://' + domainFull + '/users/' + nickname
|
|
||||||
if sharesJson.get(itemID):
|
if sharesJson.get(itemID):
|
||||||
# remove any image for the item
|
# remove any image for the item
|
||||||
itemIDfile = baseDir + '/sharefiles/' + nickname + '/' + itemID
|
itemIDfile = baseDir + '/sharefiles/' + nickname + '/' + itemID
|
||||||
|
|
|
@ -20,7 +20,6 @@ from utils import acctDir
|
||||||
from webapp_utils import htmlHeaderWithExternalStyle
|
from webapp_utils import htmlHeaderWithExternalStyle
|
||||||
from webapp_utils import htmlFooter
|
from webapp_utils import htmlFooter
|
||||||
from webapp_post import individualPostAsHtml
|
from webapp_post import individualPostAsHtml
|
||||||
from shares import getValidSharedItemID
|
|
||||||
|
|
||||||
|
|
||||||
def htmlConfirmDelete(cssCache: {},
|
def htmlConfirmDelete(cssCache: {},
|
||||||
|
|
Loading…
Reference in New Issue