diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-27 10:13:50 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-24 18:32:21 +0200 |
| commit | 0ada70719d6e607d2d14029f226c1cd61bb69514 (patch) | |
| tree | 4d25f949884e225a7ff1c168fec0955a395985b1 /ishtar_common/libreoffice.py | |
| parent | 4d9590679fa91d2e17f3a18673c0dcd9fad42fd8 (diff) | |
| download | Ishtar-0ada70719d6e607d2d14029f226c1cd61bb69514.tar.bz2 Ishtar-0ada70719d6e607d2d14029f226c1cd61bb69514.zip | |
♻️ use specific library to sanitize files path
Diffstat (limited to 'ishtar_common/libreoffice.py')
| -rw-r--r-- | ishtar_common/libreoffice.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/libreoffice.py b/ishtar_common/libreoffice.py index 573d99361..7ef33efba 100644 --- a/ishtar_common/libreoffice.py +++ b/ishtar_common/libreoffice.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +from pathvalidate import sanitize_filepath import time import uno @@ -13,7 +14,7 @@ import subprocess # nosec #from com.sun.star.table import CellRangeAddress, CellAddress -from ishtar_common.utils import num2col, sanitize_filepath +from ishtar_common.utils import num2col from django.conf import settings |
