Skip to content

Commit 8321449

Browse files
MajesticFalconcimnine
authored andcommitted
add icons to help messages
1 parent 618feff commit 8321449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

startup_scripts/280_custom_links.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_content_type_id(content_type_str):
1414
id = ContentType.objects.get(model=content_type_str).id
1515
return id
1616
except ContentType.DoesNotExist:
17-
print(" Error determining content type id for user declared var: {0}".format(content_type_str))
17+
print("⚠️ Error determining content type id for user declared var: {0}".format(content_type_str))
1818

1919
for link in custom_links:
2020
content_type = link.pop('content_type')
@@ -23,7 +23,7 @@ def get_content_type_id(content_type_str):
2323
custom_link = CustomLink(**link)
2424
if not CustomLink.objects.filter(name=custom_link.name):
2525
custom_link.save()
26-
print(" Created Custom Link {0}".format(custom_link.name))
26+
print("🖥️ Created Custom Link {0}".format(custom_link.name))
2727
else:
2828
print("⚠️ Skipping Custom Link {0}, already exists".format(custom_link.name))
2929

0 commit comments

Comments
 (0)