From 9c63734705bd23eae6257b23621cf49fc5649ae9 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Sun, 29 Aug 2021 10:19:59 +0100 Subject: [PATCH] Fix for issue #977 --- lark/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lark/utils.py b/lark/utils.py index 2938591..051adfa 100644 --- a/lark/utils.py +++ b/lark/utils.py @@ -287,7 +287,7 @@ except ImportError: atomicwrites = None class FS: - exists = os.path.exists + exists = staticmethod(os.path.exists) @staticmethod def open(name, mode="r", **kwargs):