aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/api
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-07-06 13:44:37 +0800
committerGitHub <noreply@github.com>2023-07-06 13:44:37 +0800
commitce79df72a8019f73a27482c3a05e272b473299d4 (patch)
tree927ac4cf6cb5aa53ba6dd1b6d5318a7022f2d538 /docs/api
parentc5f6d8553778163d9eba65b6a813868e2fb65cbd (diff)
downloadHydroRoll-ce79df72a8019f73a27482c3a05e272b473299d4.tar.gz
HydroRoll-ce79df72a8019f73a27482c3a05e272b473299d4.zip
Update roots.py
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/roots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/roots.py b/docs/api/roots.py
index eb126d7..13a4919 100644
--- a/docs/api/roots.py
+++ b/docs/api/roots.py
@@ -11,7 +11,7 @@ class handler(BaseHTTPRequestHandler):
self.send_header('Content-type', 'application/json')
self.end_headers()
- with open(join(dir, '..', 'data', 'file.txt'), 'r', encoding='utf-8') as file:
+ with open(join(dir, '..', 'data', 'roots.txt'), 'r', encoding='utf-8') as file:
lines = file.readlines()
random_line = random.choice(lines)
response = {