Update startup_scripts/290_webhooks.py

Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
Schylar Utley 2021-01-20 15:47:53 -06:00 committed by Christian Mäder
parent 95f4d7856a
commit f88f4e1579

View File

@ -25,5 +25,3 @@ for hook in webhooks:
webhook.save() webhook.save()
webhook.content_types.set(obj_type_ids) webhook.content_types.set(obj_type_ids)
print("🖥️ Created Webhook {0}".format(webhook.name)) print("🖥️ Created Webhook {0}".format(webhook.name))
else:
print("⚠️ Skipping Webhook {0}, already exists".format(webhook.name))