From c6eb0386db861a2e02ea3c63094721f30ee74b01 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 18 Oct 2020 12:31:39 +0200 Subject: Spelling error on a variable --- profiles/dekstop.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'profiles') diff --git a/profiles/dekstop.py b/profiles/dekstop.py index e2d83169..35a31c43 100644 --- a/profiles/dekstop.py +++ b/profiles/dekstop.py @@ -11,20 +11,20 @@ def _prep_function(*args, **kwargs): """ supported_desktops = ['gnome', 'kde', 'awesome'] - dektop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environemtn: ') + desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environemtn: ') # Temporarly store the selected desktop profile # in a session-safe location, since this module will get re-loaded # the next time it gets executed. archinstall.storage['_desktop_profile'] = desktop - profile = archinstall.Profile(None, dektop) + profile = archinstall.Profile(None, desktop) # Loading the instructions with a custom namespace, ensures that a __name__ comparison is never triggered. - with profile.load_instructions(namespace=f"{dektop}.py") as imported: + with profile.load_instructions(namespace=f"{desktop}.py") as imported: if hasattr(imported, '_prep_function'): return imported._prep_function() else: - print(f"Deprecated (??): {dektop} profile has no _prep_function() anymore") + print(f"Deprecated (??): {desktop} profile has no _prep_function() anymore") if __name__ == 'desktop': """ -- cgit v1.2.3-54-g00ecf