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):