Missing import in update.
This commit is contained in:
parent
af73d4ed64
commit
f6e0412306
@ -1,6 +1,7 @@
|
|||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
import io
|
import io
|
||||||
|
import sys
|
||||||
from . import config
|
from . import config
|
||||||
from . import uis
|
from . import uis
|
||||||
from . import color
|
from . import color
|
||||||
@ -33,6 +34,7 @@ def update_check(conf, path=None):
|
|||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def update(conf, code_version, repo_version, path=None):
|
def update(conf, code_version, repo_version, path=None):
|
||||||
"""Runs an update if necessary, and return True in that case."""
|
"""Runs an update if necessary, and return True in that case."""
|
||||||
if path is None:
|
if path is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user