Skip to content

Commit

Permalink
add icons to help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Schylar Utley committed Jan 16, 2021
1 parent 6922f83 commit d6e11ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions startup_scripts/280_custom_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -23,7 +23,7 @@ def get_content_type_id(content_type_str):
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))

0 comments on commit d6e11ff

Please sign in to comment.