From 2d3c9edd982091e12221fcaf424ca38c4842a9a7 Mon Sep 17 00:00:00 2001 From: bkfox Date: Fri, 5 Apr 2024 01:20:42 +0200 Subject: [PATCH] migration of Sounds; Liquidsoap 2.4 compatibility --- .../0026_alter_sound_options_remove_sound_episode_and_more.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aircox/migrations/0026_alter_sound_options_remove_sound_episode_and_more.py b/aircox/migrations/0026_alter_sound_options_remove_sound_episode_and_more.py index fb9a131..ddefa11 100644 --- a/aircox/migrations/0026_alter_sound_options_remove_sound_episode_and_more.py +++ b/aircox/migrations/0026_alter_sound_options_remove_sound_episode_and_more.py @@ -9,8 +9,6 @@ sounds_info = {} def get_sounds_info(apps, schema_editor): - global sounds - Sound = apps.get_model("aircox", "Sound") objs = Sound.objects.filter(episode__isnull=False).values( "pk", @@ -22,8 +20,6 @@ def get_sounds_info(apps, schema_editor): def restore_sounds_info(apps, schema_editor): - global sounds - try: Sound = apps.get_model("aircox", "Sound") EpisodeSound = apps.get_model("aircox", "EpisodeSound")