Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/general.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 78076c15..ded2c5a3 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -5,7 +5,6 @@ from subprocess import Popen, STDOUT, PIPE, check_output
from select import epoll, EPOLLIN, EPOLLHUP
from .exceptions import *
from .output import log, LOG_LEVELS
-from .user_interaction import get_terminal_width
def gen_uid(entropy_length=256):
return hashlib.sha512(os.urandom(entropy_length)).hexdigest()
@@ -162,6 +161,8 @@ class sys_command():#Thread):
def peak(self, output):
if self.peak_output:
+ from .user_interaction import get_terminal_width
+
# Move back to the beginning of the terminal
sys.stdout.flush()
sys.stdout.write("\033[%dG" % 0)