diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-26 19:09:21 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-24 18:32:21 +0200 |
| commit | 3178b9e708c67d465b8262361c22f44cadd08f52 (patch) | |
| tree | f50c4218ae605b7cd8ddfd85c7d10ff6f72596d7 /ishtar_common/models.py | |
| parent | 1fb4e99abe52f98d34339f12940582f2ca51ecb8 (diff) | |
| download | Ishtar-3178b9e708c67d465b8262361c22f44cadd08f52.tar.bz2 Ishtar-3178b9e708c67d465b8262361c22f44cadd08f52.zip | |
♻️ fiona deprecation: fiona.crs -> fiona.crs.CRS - BeautifulSoup deprecation: find_all(text=...) -> find_all(string=...)
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 06aa2a67c..a26eab5c9 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2260,7 +2260,7 @@ class DocumentTemplate(models.Model): new_content = [] for content in base_content: content = copy.copy(content) - for text in content.find_all(text=re.compile("items.0")): + for text in content.find_all(string=re.compile("items.0")): fixed_text = text.replace("items.0", replace_str) text.replace_with(fixed_text) for image in content.find_all( |
