1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Files
cheat.sh/lib/adapter/latenz.py
T
2019-01-31 00:37:23 +00:00

17 lines
392 B
Python

import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from globals import PATH_LATENZ
def get_answer(topic, request_options=None):
sys.path.append(PATH_LATENZ)
import latencies
return latencies.render()
def get_list():
return ['latencies']
def is_found(topic):
return topic.lower() in ['latencies', 'late.nz', 'latency']