From 2f630f69de25d868683e99942665c5988cf0fa09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 15 Jun 2020 11:50:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20warnings.warning=20=3D>=20warnin?= =?UTF-8?q?gs.warn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/server/util/flask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index bb50dbc70..6cfbf552f 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -205,7 +205,7 @@ def fix_webassets_cache(): unpickled = webassets.cache.safe_unpickle(result) if unpickled is None: - warnings.warning('Ignoring corrupted cache file %s' % filename) + warnings.warn('Ignoring corrupted cache file %s' % filename) return unpickled cache.FilesystemCache.set = fixed_set