Fixed broken imports (#1548)

This commit is contained in:
Anton Hvornum 2022-11-04 17:25:14 +01:00 committed by GitHub
parent 16ca69540c
commit 9db6a25a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from enum import Enum, auto
from os import system from os import system
from typing import Dict, List, Union, Any, TYPE_CHECKING, Optional, Callable 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 ..exceptions import RequirementError
from ..output import log from ..output import log

View File

@ -110,7 +110,7 @@ class TranslationHandler:
""" """
Set the provided font as the new terminal font Set the provided font as the new terminal font
""" """
from archinstall import SysCommand, log from .general import SysCommand, log
try: try:
log(f'Setting font: {font}', level=logging.DEBUG) log(f'Setting font: {font}', level=logging.DEBUG)
SysCommand(f'setfont {font}') SysCommand(f'setfont {font}')