From 3d4bf9fb98716dd6446f3afa2c102c3afbf727f1 Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:40:05 -0700 Subject: [PATCH] Remove call referencing old class --- src/replit/maqpy/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replit/maqpy/files.py b/src/replit/maqpy/files.py index 259aa42..6e299fd 100644 --- a/src/replit/maqpy/files.py +++ b/src/replit/maqpy/files.py @@ -26,6 +26,6 @@ class File(flask.Response): self.content = f.read() if not no_cache: - cache.add_to_cache(filename, self.content) + cache[filename] = self.content super().__init__(self.content)