mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-30 06:39:44 +02:00
Fix Pylint warnings.
This commit is contained in:
parent
11596c4cd8
commit
868a417afc
19 changed files with 137 additions and 148 deletions
|
@ -231,7 +231,7 @@ def render_map(arguments: argparse.Namespace) -> None:
|
|||
for input_file_name in input_file_names:
|
||||
if not input_file_name.is_file():
|
||||
logging.fatal(f"No such file: {input_file_name}.")
|
||||
exit(1)
|
||||
sys.exit(1)
|
||||
|
||||
if input_file_name.name.endswith(".json"):
|
||||
osm_data.parse_overpass(input_file_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue