Skip to content

Commit 49a63f0

Browse files
committed
Refactoring: Minor changes in console output.
1 parent 5832340 commit 49a63f0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

β€Žsrc/jarvis/jarvis/core/console.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
from jarvis import settings
2929
from jarvis.utils.mongoDB import db
30-
from jarvis.utils.console import jarvis_logo, OutputStyler, add_dashes
30+
from jarvis.utils.console import jarvis_logo, start_text, OutputStyler, add_dashes
3131
from jarvis.enumerations import MongoCollections, InputMode
3232

3333

@@ -84,8 +84,8 @@ def console_output(self, text='', debug_log=None, info_log=None, warn_log=None,
8484
# ----------------------------------------------------------------------------------------------------------
8585
# Logo sector
8686
# ----------------------------------------------------------------------------------------------------------
87-
self._stdout_print(jarvis_logo)
88-
self._stdout_print(" NOTE: CTRL + C If you want to Quit.")
87+
self._stdout_print(jarvis_logo + start_text)
88+
self._stdout_print(" NOTE: CTRL + C If you want to Quit.")
8989

9090
# ----------------------------------------------------------------------------------------------------------
9191
# General info sector

β€Žsrc/jarvis/jarvis/utils/console.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,5 @@ def print_console_header(text='-'):
7272
" β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—\n" \
7373
" β–ˆβ–ˆ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘\n" \
7474
" β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘\n" \
75-
" β•šβ•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β• β•šβ•β•β•β• β•šβ•β•β•šβ•β•β•β•β•β•β•"
76-
start_text = "" \
77-
+ add_dashes('-') + \
78-
" - Voice Assistant Platform " + "v" + __version__ + "-\n" \
79-
+ add_dashes('-')
75+
" β•šβ•β•β•β•β• β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β• β•šβ•β•β•β• β•šβ•β•β•šβ•β•β•β•β•β•β•\n"
76+
start_text =" - Voice Assistant Platform " + "v" + __version__ + " -"

0 commit comments

Comments
Β (0)