Update startup_scripts/280_custom_links.py
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
parent
fe811f37bd
commit
07a0b1d7ef
@ -24,6 +24,3 @@ for link in custom_links:
|
|||||||
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:
|
|
||||||
print("⚠️ Skipping Custom Link {0}, already exists".format(custom_link.name))
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user