opnsense-ports/math/py-mathics/files/patch-mathics_settings.py
Franco Fichtner 84c5ea69ee */*: sync with upstream
Taken from: FreeBSD
2025-02-06 12:31:11 +01:00

11 lines
360 B
Python

--- mathics/settings.py.orig 2025-01-28 08:58:07 UTC
+++ mathics/settings.py
@@ -110,7 +110,7 @@ def ensure_directory(directory: str):
"""
dir_path = Path(directory)
if not dir_path.is_dir():
- os.mkdir(directory)
+ os.makedirs(directory)
def get_doctest_latex_data_path(should_be_readable=False, create_parent=False) -> str: