Повтор последнего.
This commit is contained in:
parent
e252ae0cb8
commit
165f4c9b2c
@ -34,6 +34,7 @@ class Updater:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_current_fias_version(cls):
|
def get_current_fias_version(cls):
|
||||||
|
db = None
|
||||||
try:
|
try:
|
||||||
db = DBImpl(psycopg2, db_conf)
|
db = DBImpl(psycopg2, db_conf)
|
||||||
rows = db.get_rows('SELECT version FROM "CONFIG" WHERE id=0', True)
|
rows = db.get_rows('SELECT version FROM "CONFIG" WHERE id=0', True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user