ezKit 1.10.8__tar.gz → 1.10.9__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.10.8
3
+ Version: 1.10.9
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -44,9 +44,9 @@ class Database():
44
44
  info = "Database connect test"
45
45
  try:
46
46
  logger.info(f"{info} ......")
47
- self.engine.connect()
48
- logger.success(f"{info} [success]")
49
- return True
47
+ with self.engine.connect() as _:
48
+ logger.success(f"{info} [success]")
49
+ return True
50
50
  except Exception as e:
51
51
  logger.error(f"{info} [failed]")
52
52
  logger.exception(e)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.10.8
3
+ Version: 1.10.9
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
3
3
 
4
4
  setup(
5
5
  name='ezKit',
6
- version='1.10.8',
6
+ version='1.10.9',
7
7
  author='septvean',
8
8
  author_email='septvean@gmail.com',
9
9
  description='Easy Kit',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes