From 761344183692767be838210412e9118837019e9c Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Thu, 31 Mar 2022 21:08:34 +0200 Subject: [PATCH] Fix validation issue Fixes #3 --- app/tools/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tools/tools.py b/app/tools/tools.py index dc4d90b..e0aa8e2 100644 --- a/app/tools/tools.py +++ b/app/tools/tools.py @@ -320,7 +320,7 @@ def process(path: str, from_cache: bool = True) -> Calendar: with open("app/cache/" + sanitize_filename(path).rstrip(".json") + ".ics") as file: data = file.read() print("Serving precomputed file") - return data #Calendar(imports=data) + return Calendar(imports=data) else: o = "app/config/" + sanitize_filename(path)