pure visual update
This commit is contained in:
+3
-7
@@ -2,17 +2,13 @@
|
||||
|
||||
import os
|
||||
import toml
|
||||
import logging
|
||||
from .logger import niko_logger as logger
|
||||
|
||||
# Import the consolidated mappings from the nodes subfolder
|
||||
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Confirmation message
|
||||
toml_path = os.path.join(os.path.dirname(__file__), "pyproject.toml")
|
||||
|
||||
@@ -23,5 +19,5 @@ try:
|
||||
except (FileNotFoundError, KeyError):
|
||||
version = "Unknown"
|
||||
|
||||
# Print with empty lines and version
|
||||
logger.info("\n\n\033[32mNikosis Nodes Loaded Successfully - v%s\033[0m\n", version)
|
||||
# Nodes loading status & version
|
||||
logger.niko_log(f"\n\033[32mNikosis Nodes Loaded Successfully - v{version}\033[0m\n")
|
||||
|
||||
Reference in New Issue
Block a user