bugfixing
This commit is contained in:
parent
608dbeeb38
commit
0fccd303de
@ -16,8 +16,8 @@ load_dotenv()
|
|||||||
url = os.getenv('FDA_CALENDAR')
|
url = os.getenv('FDA_CALENDAR')
|
||||||
|
|
||||||
def save_json(data):
|
def save_json(data):
|
||||||
with open(f"json/fda-calendar/data.json", 'wb') as file:
|
with open("json/fda-calendar/data.json", 'w', encoding='utf-8') as file:
|
||||||
ujson.dumps(data, file)
|
ujson.dump(data, file, ensure_ascii=False, indent=2)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Set up Chrome options
|
# Set up Chrome options
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user