diff --git a/plugin/web.py b/plugin/web.py index f2ac791..68e2e2b 100644 --- a/plugin/web.py +++ b/plugin/web.py @@ -145,7 +145,7 @@ class WebServer: def handlerWrapper(self, req): if len(req.body) == 0: - body = 'AnkiConnect' + body = 'AnkiConnect v.{}'.format(util.setting('apiVersion')).encode('utf-8') else: try: params = json.loads(req.body.decode('utf-8'))