mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'dev' into 'master'
Fix Startup Prompt See merge request crafty-controller/crafty-4!324
This commit is contained in:
commit
37f2c8d622
@ -27,7 +27,7 @@ class MainPrompt(cmd.Cmd):
|
||||
self.import3: Import3 = import3
|
||||
|
||||
# overrides the default Prompt
|
||||
self.prompt = f"Crafty Controller v{self.helper.get_version_string()} > "
|
||||
self.prompt = ""
|
||||
|
||||
def emptyline(self):
|
||||
pass
|
||||
|
2
main.py
2
main.py
@ -171,6 +171,7 @@ if __name__ == "__main__":
|
||||
tasks_starter_thread = Thread(target=tasks_starter, name="tasks_starter")
|
||||
|
||||
def internet_check():
|
||||
print()
|
||||
logger.info("Checking Internet. This may take a minute.")
|
||||
Console.info("Checking Internet. This may take a minute.")
|
||||
|
||||
@ -223,6 +224,7 @@ if __name__ == "__main__":
|
||||
controller_setup_thread.join()
|
||||
|
||||
Console.info("Crafty has fully started and is now ready for use!")
|
||||
crafty_prompt.prompt = f"Crafty Controller v{helper.get_version_string()} > "
|
||||
|
||||
if not args.daemon:
|
||||
# Put the prompt under the cursor
|
||||
|
Loading…
Reference in New Issue
Block a user