Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-11-04 17:25:14 +0100
committerGitHub <noreply@github.com>2022-11-04 17:25:14 +0100
commit9db6a25a08cf9a28bd848a416b105495ad9a5b0d (patch)
treefaac9f9f48895539a4063731ef9e381c272d37ff /archinstall
parent16ca69540cc1ac8a28b7007aefe628cf24d2c395 (diff)
Fixed broken imports (#1548)
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/menu/menu.py2
-rw-r--r--archinstall/lib/translationhandler.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/menu/menu.py b/archinstall/lib/menu/menu.py
index 112bc0ae..13ce8c0e 100644
--- a/archinstall/lib/menu/menu.py
+++ b/archinstall/lib/menu/menu.py
@@ -3,7 +3,7 @@ from enum import Enum, auto
from os import system
from typing import Dict, List, Union, Any, TYPE_CHECKING, Optional, Callable
-from archinstall.lib.menu.simple_menu import TerminalMenu
+from .simple_menu import TerminalMenu
from ..exceptions import RequirementError
from ..output import log
diff --git a/archinstall/lib/translationhandler.py b/archinstall/lib/translationhandler.py
index ef33b8ec..1a3ed85f 100644
--- a/archinstall/lib/translationhandler.py
+++ b/archinstall/lib/translationhandler.py
@@ -110,7 +110,7 @@ class TranslationHandler:
"""
Set the provided font as the new terminal font
"""
- from archinstall import SysCommand, log
+ from .general import SysCommand, log
try:
log(f'Setting font: {font}', level=logging.DEBUG)
SysCommand(f'setfont {font}')