mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 09:26:26 +02:00
Get use of map configuration.
This commit is contained in:
parent
56fdf9709e
commit
4c5209dabc
15 changed files with 160 additions and 130 deletions
|
@ -1,6 +1,7 @@
|
|||
"""
|
||||
Röntgen tile server for slippy maps.
|
||||
"""
|
||||
import argparse
|
||||
import logging
|
||||
from http.server import HTTPServer, SimpleHTTPRequestHandler
|
||||
from pathlib import Path
|
||||
|
@ -62,7 +63,7 @@ class _Handler(SimpleHTTPRequestHandler):
|
|||
return
|
||||
|
||||
|
||||
def ui(options) -> None:
|
||||
def ui(options: argparse.Namespace) -> None:
|
||||
"""Command-line interface for tile server."""
|
||||
server: Optional[HTTPServer] = None
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue