diff --git a/management/commands/refresh_activities.py b/management/commands/refresh_activities.py index c03240f..c92bec0 100644 --- a/management/commands/refresh_activities.py +++ b/management/commands/refresh_activities.py @@ -24,7 +24,7 @@ class Command(BaseCommand): * Ne pas éditer cette page manuellement, toute modification sera annulée automatiquement. * Pour annoncer un nouvel événement, rendez-vous sur {activities_url} -""".format(activities_url="https://" + os.getenv("NOTE_URL") + reverse("activity:activity_list")) +""".format(activities_url="https://" + os.getenv("NOTE_URL", "") + reverse("activity:activity_list")) @staticmethod def connection(url):