python-glowplug 0.3.3__tar.gz → 0.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-glowplug
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: A collection of utilities for common DB maintenance operations in SQLAlchemy
5
5
  Home-page: https://github.com/jnu/python-glowplug
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-glowplug"
3
- version = "0.3.3"
3
+ version = "0.3.4"
4
4
  description = "A collection of utilities for common DB maintenance operations in SQLAlchemy"
5
5
  authors = ["Joe Nudell <jnudell@hks.harvard.edu>"]
6
6
  readme = "README.md"
@@ -26,7 +26,9 @@ class SqliteDriver(DbDriver):
26
26
  return
27
27
  # Make sure directories exist. The file itself will be created
28
28
  # when the first connection is made.
29
- os.makedirs(os.path.dirname(self.path), exist_ok=True)
29
+ dirname = os.path.dirname(self.path)
30
+ if dirname:
31
+ os.makedirs(dirname, exist_ok=True)
30
32
 
31
33
  @property
32
34
  def async_uri(self) -> str:
File without changes