Browse Source

log posted image urls

pull/13/head
lilydjwg 3 years ago
parent
commit
276c9bb916
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.py

+ 1
- 0
main.py View File

@@ -129,6 +129,7 @@ class IndexHandler(tornado.web.RequestHandler):
elif ret:
img_url = tuple(ret.values())[0]
self.write("%s\n" % img_url)
logging.info('%s posted: %s', self.request.remote_ip, ret)

class ToolHandler(tornado.web.RequestHandler):
def get(self):


Loading…
Cancel
Save