diff options
| author | 2023-07-06 13:44:37 +0800 | |
|---|---|---|
| committer | 2023-07-06 13:44:37 +0800 | |
| commit | ce79df72a8019f73a27482c3a05e272b473299d4 (patch) | |
| tree | 927ac4cf6cb5aa53ba6dd1b6d5318a7022f2d538 /docs | |
| parent | c5f6d8553778163d9eba65b6a813868e2fb65cbd (diff) | |
| download | HydroRoll-ce79df72a8019f73a27482c3a05e272b473299d4.tar.gz HydroRoll-ce79df72a8019f73a27482c3a05e272b473299d4.zip | |
Update roots.py
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/roots.py | 2 |
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 = { |
