From 2885874b7cf8bb064b8c39b289296a488eb49747 Mon Sep 17 00:00:00 2001 From: Francesco Andreetto <100722436+Frastandreetto@users.noreply.github.com> Date: Mon, 8 Apr 2024 17:10:49 +0200 Subject: [PATCH] Posix Path Error (#102) * Commit requirements.txt to pull striptease * Fixing PosixPath Error in hdf5db.py * Restoring old version * Fixing Posix Path Error * Adding deleted txt files --- requirements.txt | 2 +- striptease/hdf5db.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4944896..d8840c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ scipy~=1.9.0 flake8~=4.0.1 pre-commit~=2.15.0 openpyxl~=3.0.9 -rich~=10.14.0 +rich~=12.5.1 pyzstd~=0.15.0 mako~=1.2.2 sphinxcontrib.asciinema~=0.3.3 diff --git a/striptease/hdf5db.py b/striptease/hdf5db.py index 41efbbb..1cc3974 100644 --- a/striptease/hdf5db.py +++ b/striptease/hdf5db.py @@ -96,7 +96,7 @@ def scan_data_path( ) -> sqlite3.Connection: db_path = Path(path) / database_name - db = sqlite3.connect(db_path) + db = sqlite3.connect(str(db_path)) create_storage_db(db) curs = db.cursor()