python-glowplug 0.3.3__py3-none-any.whl → 0.3.4__py3-none-any.whl

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.
glowplug/driver/sqlite.py CHANGED
@@ -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:
@@ -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
@@ -4,8 +4,8 @@ glowplug/driver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  glowplug/driver/base.py,sha256=hMC8HKEY97O-_6VxCfBwdilPRQ3goDt8vaNcDl9KhkY,3673
5
5
  glowplug/driver/mssql.py,sha256=gbrlh2O-LViDwNmwwpme0sNzu2EbgJtQKbp4o_mNrvs,2635
6
6
  glowplug/driver/pg.py,sha256=4Hw2WG33UzgYyJtWLv8QWZzHhzzsM34TyDuObtxvNmI,2600
7
- glowplug/driver/sqlite.py,sha256=DEJ8lYP8ZPemeGezTovs8WISGaVyUfwTIqiwMz3FPdU,1020
8
- python_glowplug-0.3.3.dist-info/LICENSE,sha256=HvAzro26TfbigQ3ppmyagEGHIr_UtyQDfU8muTAqWFU,1060
9
- python_glowplug-0.3.3.dist-info/METADATA,sha256=acjy0WeTq0-Ou_62GIxF00qwBAdl_9XYD32eJRpXIuM,1494
10
- python_glowplug-0.3.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
11
- python_glowplug-0.3.3.dist-info/RECORD,,
7
+ glowplug/driver/sqlite.py,sha256=SPhZXYMu_OcdN2r7dr5YJA-3Jsd-deH7peMWYEzX_sE,1070
8
+ python_glowplug-0.3.4.dist-info/LICENSE,sha256=HvAzro26TfbigQ3ppmyagEGHIr_UtyQDfU8muTAqWFU,1060
9
+ python_glowplug-0.3.4.dist-info/METADATA,sha256=5xqEMky2Es8T5YZY6HsojEDNmSxngKSU1cwbJC2Wm1o,1494
10
+ python_glowplug-0.3.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
11
+ python_glowplug-0.3.4.dist-info/RECORD,,