diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-27 11:54:17 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-28 15:32:37 +0100 |
| commit | b0584e863898569f63d53b4d5dd2df6b764d12e4 (patch) | |
| tree | 29e85bbf0131ee999c7a6f60315d84ad294ac29e | |
| parent | c682a67e79d4a2f47ff97940c377aeb4fcc4ad05 (diff) | |
| download | Ishtar-b0584e863898569f63d53b4d5dd2df6b764d12e4.tar.bz2 Ishtar-b0584e863898569f63d53b4d5dd2df6b764d12e4.zip | |
🐛 fix archaeological files forms when instruction deadline is removed (refs #6484)
| -rw-r--r-- | archaeological_files/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index 353880075..5dd48da71 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -683,7 +683,7 @@ class FileFormInstruction(CustomForm, IshtarForm): else: deadline = reception_date + datetime.timedelta(days=delay) self.fields["instruction_deadline"].initial = deadline.strftime("%Y-%m-%d") - except (TypeError, ValueError): + except (TypeError, ValueError, KeyError): pass def clean_numeric_reference(self): |
