parent
c768d7856f
commit
7613441836
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue