Fixed tunnel token headers && tunnel proxy typo

This commit is contained in:
Adolfo Gómez García 2021-07-13 15:00:00 +02:00
parent 13cbfe26c7
commit 5ff6cdaf69
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ logger = logging.getLogger(__name__)
class TunnelTokens(ModelHandler):
model = TunnelToken
table_title = _('Actor tokens')
table_title = _('Tunnel tokens')
table_fields = [
{'token': {'title': _('Token')}},
{'stamp': {'title': _('Date'), 'type': 'datetime'}},

View File

@ -208,7 +208,7 @@ class Proxy:
await source.sendall(b'ERROR_TICKET')
return
prettyDest = result['host'] + ':' + result['port']
prettyDest = f"{result['host']}:{result['port']}"
logger.info('OPEN TUNNEL FROM %s to %s', prettySource, prettyDest)
except Exception: