mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-29 04:03:44 +03:00
Fix after review
This commit is contained in:
parent
793726adb2
commit
c20846122f
|
@ -98,7 +98,7 @@ class Database(object):
|
|||
self.create_database()
|
||||
self.server_version = self._get_server_version()
|
||||
# Versions 1.1.53981 and below don't have timezone function
|
||||
self.server_timezone = self._get_server_timezone() if self.server_version[2] > 53981 else pytz.utc
|
||||
self.server_timezone = self._get_server_timezone() if self.server_version > (1, 1, 53981) else pytz.utc
|
||||
|
||||
def create_database(self):
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue
Block a user