add icons to help messages
This commit is contained in:
parent
618feff63a
commit
8321449cc0
@ -14,7 +14,7 @@ def get_content_type_id(content_type_str):
|
|||||||
id = ContentType.objects.get(model=content_type_str).id
|
id = ContentType.objects.get(model=content_type_str).id
|
||||||
return id
|
return id
|
||||||
except ContentType.DoesNotExist:
|
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:
|
for link in custom_links:
|
||||||
content_type = link.pop('content_type')
|
content_type = link.pop('content_type')
|
||||||
@ -23,7 +23,7 @@ for link in custom_links:
|
|||||||
custom_link = CustomLink(**link)
|
custom_link = CustomLink(**link)
|
||||||
if not CustomLink.objects.filter(name=custom_link.name):
|
if not CustomLink.objects.filter(name=custom_link.name):
|
||||||
custom_link.save()
|
custom_link.save()
|
||||||
print(" Created Custom Link {0}".format(custom_link.name))
|
print("🖥️ Created Custom Link {0}".format(custom_link.name))
|
||||||
else:
|
else:
|
||||||
print("⚠️ Skipping Custom Link {0}, already exists".format(custom_link.name))
|
print("⚠️ Skipping Custom Link {0}, already exists".format(custom_link.name))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user