Update startup_scripts/280_custom_links.py

Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
Schylar Utley 2021-01-20 15:47:34 -06:00 committed by GitHub
parent 9d2d5f081a
commit b2b974a287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))