mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Fix syntax error
This fixes e65d9c4f
. Setting a variable can't end with :
This also fixes the issue with referenced before assignment
This commit is contained in:
parent
99dc06bd51
commit
0a6053dd82
1 changed files with 2 additions and 3 deletions
|
@ -203,10 +203,9 @@ def run():
|
||||||
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
|
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
|
||||||
|
|
||||||
if "default_desktop_environment" in libcalamares.job.configuration:
|
if "default_desktop_environment" in libcalamares.job.configuration:
|
||||||
entry = libcalamares.job.configuration["default_desktop_environment"]:
|
entry = libcalamares.job.configuration["default_desktop_environment"]
|
||||||
default_desktop_environment = DesktopEnvironment(entry["executable"], entry["desktop_file"])
|
default_desktop_environment = DesktopEnvironment(entry["executable"], entry["desktop_file"])
|
||||||
|
else:
|
||||||
if default_desktop_environment is None:
|
|
||||||
default_desktop_environment = find_desktop_environment(root_mount_point)
|
default_desktop_environment = find_desktop_environment(root_mount_point)
|
||||||
|
|
||||||
# Setup slim
|
# Setup slim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue