mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
17 lines
392 B
Python
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']
|