Missing import in update.

This commit is contained in:
Olivier Mangin 2017-05-12 16:00:51 -04:00
parent af73d4ed64
commit f6e0412306

@ -1,6 +1,7 @@
import shutil
import io
import sys
from . import config
from . import uis
from . import color
@ -33,6 +34,7 @@ def update_check(conf, path=None):
return False
def update(conf, code_version, repo_version, path=None):
"""Runs an update if necessary, and return True in that case."""
if path is None: