about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUltraQbik <no1skill@yandex.ru>2024-08-27 20:42:23 +0300
committerUltraQbik <no1skill@yandex.ru>2024-08-27 20:42:23 +0300
commit291b488d06a0a6792f6711e8f8352edf6c1aa961 (patch)
treecd5fcfcabe2fcf1938d6fbe916d86082b9920168
parent72d94d4dd0464a80146dd08bcee33291a8e4be2e (diff)
downloadhttpy-291b488d06a0a6792f6711e8f8352edf6c1aa961.tar.gz
httpy-291b488d06a0a6792f6711e8f8352edf6c1aa961.zip
Update parser x2
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 60680c4..3cfde56 100644
--- a/main.py
+++ b/main.py
@@ -289,7 +289,7 @@ class HTTPServer:
 def main():
     path_map = file_man.generate_path_map()
     if not ARGS.dont_compress_path:
-        path_map = file_man.compress_path_map(path_map, path_prefix=ARGS.compress_path)
+        path_map = file_man.compress_path_map(path_map, path_prefix=ARGS.compressed_path)
 
     server = HTTPServer(
         port=ARGS.port,