diff --git a/pantherdb/__init__.py b/pantherdb/__init__.py index 3b3fe4a..8607dc9 100644 --- a/pantherdb/__init__.py +++ b/pantherdb/__init__.py @@ -1,3 +1,3 @@ from pantherdb.pantherdb import PantherDB, PantherCollection, PantherDocument, PantherDBException, Cursor -__version__ = '2.1.0' +__version__ = '2.1.1' diff --git a/pantherdb/pantherdb.py b/pantherdb/pantherdb.py index b1a93c9..3b0cddc 100644 --- a/pantherdb/pantherdb.py +++ b/pantherdb/pantherdb.py @@ -33,6 +33,7 @@ def __new__(cls, *args, **kwargs): else: db_name = cls.db_name + db_name = str(db_name) # Can be PosixPath # Replace with .removesuffix('.pdb') after python3.8 compatible support if db_name.endswith('.pdb'): db_name = db_name[:-4]