From 9a766eac8c1ae8110ea27efbb56bf9c95c95e114 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 15 Apr 2025 14:04:02 +0200 Subject: [PATCH] Add init to interface utils --- RNS/Interfaces/util/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 RNS/Interfaces/util/__init__.py diff --git a/RNS/Interfaces/util/__init__.py b/RNS/Interfaces/util/__init__.py new file mode 100644 index 0000000..72302cb --- /dev/null +++ b/RNS/Interfaces/util/__init__.py @@ -0,0 +1,7 @@ +import os +import glob + +py_modules = glob.glob(os.path.dirname(__file__)+"/*.py") +pyc_modules = glob.glob(os.path.dirname(__file__)+"/*.pyc") +modules = py_modules+pyc_modules +__all__ = list(set([os.path.basename(f).replace(".pyc", "").replace(".py", "") for f in modules if not (f.endswith("__init__.py") or f.endswith("__init__.pyc"))]))