Missing import in update.

main
Olivier Mangin 8 years ago
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:

Loading…
Cancel
Save