ajenti / ajenti

Anomalous backslash detected PY-W0073
Bug risk
Major
6 months agoa year old
Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
101        data = {'type': 'append', 'userid':f'{user}@{auth_id}', 'secret_details': secret_details}
102        self.context.worker.change_totp(data)
103
104    @delete('/api/core/totps/(?P<timestamp>\d*)')105    @endpoint(api=True)
106    def handle_delete_user_totp(self, http_context, timestamp):
107        user = self.context.identity