Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e768be

Browse files
committed
minor bug fix
1 parent f7feebe commit 5e768be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def setVersion(version):
274274
def setVersionList(versionsList):
275275
if isinstance(versionsList, list):
276276
kb.dbmsVersion = versionsList
277-
elif isinstance(version, basestring):
277+
elif isinstance(versionsList, basestring):
278278
Backend.setVersion(versionsList)
279279
else:
280280
logger.error("invalid format of versionsList")

0 commit comments

Comments
 (0)