Commit 69bc9d5d authored by Vitezslav Humpa's avatar Vitezslav Humpa
Browse files

Fix py3 incompatibility with headless-next session processing via

parent afeca47b
Pipeline #33846326 failed with stages
in 0 seconds
......@@ -182,6 +182,7 @@ class DisplayManagerSession(object):
need_restart = True
except (configparser.NoOptionError, configparser.NoSectionError) as e:
if self.session is not None:
if not account_config.has_section('User'):
account_config.set('User', 'XSession', self.session)
account_config.set('User', 'SystemAccount', 'false')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment