diff options
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 = { |
