forked from indymedia/epicyon
Bracket
parent
5d68176495
commit
44b5c569b9
|
@ -2637,7 +2637,7 @@ def htmlRemoveSharedItem(translate: {},baseDir: str,actor: str,shareName: str) -
|
||||||
domain,port=getDomainFromActor(actor)
|
domain,port=getDomainFromActor(actor)
|
||||||
sharesFile=baseDir+'/accounts/'+nickname+'@'+domain+'/shares.json'
|
sharesFile=baseDir+'/accounts/'+nickname+'@'+domain+'/shares.json'
|
||||||
if not os.path.isfile(sharesFile):
|
if not os.path.isfile(sharesFile):
|
||||||
print('ERROR: no shares file '+sharesFile
|
print('ERROR: no shares file '+sharesFile)
|
||||||
return None
|
return None
|
||||||
sharesJson=loadJson(sharesFile)
|
sharesJson=loadJson(sharesFile)
|
||||||
if not sharesJson:
|
if not sharesJson:
|
||||||
|
|
Loading…
Reference in New Issue