mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-01 13:04:22 -04:00
Add init to interface utils
This commit is contained in:
parent
9d2456500a
commit
9a766eac8c
1 changed files with 7 additions and 0 deletions
7
RNS/Interfaces/util/__init__.py
Normal file
7
RNS/Interfaces/util/__init__.py
Normal file
|
@ -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"))]))
|
Loading…
Add table
Add a link
Reference in a new issue