main
Bob Mottram 2023-08-22 22:22:53 +01:00
parent 5b9f17b462
commit 19ef0faafa
1 changed files with 2 additions and 1 deletions

View File

@ -22437,7 +22437,6 @@ class PubServer(BaseHTTPRequestHandler):
if fields.get('shareOnProfile'): if fields.get('shareOnProfile'):
if fields['shareOnProfile'] == 'on': if fields['shareOnProfile'] == 'on':
share_on_profile = True share_on_profile = True
print('DEBUG: shareOnProfile: ' + post_type + ' ' + str(fields))
add_share(self.server.base_dir, add_share(self.server.base_dir,
self.server.http_prefix, self.server.http_prefix,
nickname, nickname,
@ -22475,6 +22474,8 @@ class PubServer(BaseHTTPRequestHandler):
nickname, nickname,
self.server.domain) + '.json' self.server.domain) + '.json'
save_json(actor_json, actor_filename) save_json(actor_json, actor_filename)
print('DEBUG: add_shares_to_actor: saved')
print('DEBUG: add_shares_to_actor: ' + str(actor_json))
if filename: if filename:
if os.path.isfile(filename): if os.path.isfile(filename):