From 8321449cc084f9ebf2caf1578206d16b189b9532 Mon Sep 17 00:00:00 2001 From: Schylar Utleye Date: Fri, 15 Jan 2021 23:34:44 -0600 Subject: [PATCH] add icons to help messages --- startup_scripts/280_custom_links.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup_scripts/280_custom_links.py b/startup_scripts/280_custom_links.py index dc75839..b014a29 100644 --- a/startup_scripts/280_custom_links.py +++ b/startup_scripts/280_custom_links.py @@ -14,7 +14,7 @@ def get_content_type_id(content_type_str): id = ContentType.objects.get(model=content_type_str).id return id except ContentType.DoesNotExist: - print(" Error determining content type id for user declared var: {0}".format(content_type_str)) + print("⚠️ Error determining content type id for user declared var: {0}".format(content_type_str)) for link in custom_links: content_type = link.pop('content_type') @@ -23,7 +23,7 @@ for link in custom_links: custom_link = CustomLink(**link) if not CustomLink.objects.filter(name=custom_link.name): custom_link.save() - print(" Created Custom Link {0}".format(custom_link.name)) + print("🖥️ Created Custom Link {0}".format(custom_link.name)) else: print("⚠️ Skipping Custom Link {0}, already exists".format(custom_link.name))