mirror of https://github.com/CIRCL/lookyloo
33 lines
916 B
Python
33 lines
916 B
Python
env_global_name: str = 'LOOKYLOO_HOME'
|
|
|
|
from .exceptions import LookylooException # noqa
|
|
|
|
# NOTE: the imports below are there to avoid too long paths when importing the
|
|
# classes/methods in the rest of the project while keeping all that in a subdirectory
|
|
# and allow to update them easily.
|
|
# You should not have to change anything in this file below this line.
|
|
|
|
import os # noqa
|
|
|
|
from .abstractmanager import AbstractManager # noqa
|
|
|
|
from .exceptions import MissingEnv, CreateDirectoryException, ConfigError # noqa
|
|
|
|
from .helpers import get_homedir, load_configs, get_config, safe_create_dir, get_socket_path, try_make_file # noqa
|
|
|
|
os.chdir(get_homedir())
|
|
|
|
__all__ = [
|
|
'LookylooException',
|
|
'AbstractManager',
|
|
'MissingEnv',
|
|
'CreateDirectoryException',
|
|
'ConfigError',
|
|
'get_homedir',
|
|
'load_configs',
|
|
'get_config',
|
|
'safe_create_dir',
|
|
'get_socket_path',
|
|
'try_make_file',
|
|
]
|