Missing import in update.

main
Olivier Mangin 8 years ago
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…
Cancel
Save