We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b569353 commit fd39beeCopy full SHA for fd39bee
compass/cli.py
@@ -1,13 +1,14 @@
1
"""Ordinances CLI"""
2
3
import sys
4
-import json
5
import click
6
import asyncio
7
import logging
8
import multiprocessing
9
from pathlib import Path
10
+import pyjson5
11
+
12
from compass import __version__
13
from compass.process import process_counties_with_openai
14
@@ -40,7 +41,7 @@ def main(ctx):
40
41
def process(config, verbose):
42
"""Download and extract ordinances for a list of counties"""
43
with Path(config).open(encoding="utf-8") as fh:
- config = json.load(fh)
44
+ config = pyjson5.decode_io(fh)
45
46
if verbose:
47
for lib in ["compass", "elm"]:
0 commit comments