mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
fix __new_version__ var
This commit is contained in:
parent
866d2953f1
commit
567c9371e6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def it_self_update():
|
|||
for line in version_data.splitlines():
|
||||
line = line.strip()
|
||||
if line.startswith('__version_info__'):
|
||||
_m.__new_version__ = '.'.join(re.findall(r'\d+', line))
|
||||
__new_version__ = '.'.join(re.findall(r'\d+', line))
|
||||
if __new_version__ > _m.__version__:
|
||||
if _m.default_answer == "y":
|
||||
answer = _m.default_answer
|
||||
|
|
Loading…
Add table
Reference in a new issue