mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
5b9f17b462
commit
19ef0faafa
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue