Log api calls

main
Bob Mottram 2021-01-22 12:30:45 +00:00
parent 48e82b1d49
commit 7309a237ae
1 changed files with 1 additions and 2 deletions

View File

@ -793,8 +793,7 @@ class PubServer(BaseHTTPRequestHandler):
"""
if not path.startswith('/api/v1/'):
return False
if self.server.debug:
print('DEBUG: mastodon api v1 ' + path)
print('mastodon api v1: ' + path)
sendJson = None
sendJsonStr = ''