Merge pull request #93 from vowstar/patch-1
Unsafe load() call disabled by Gentoo. See bug #659348
This commit is contained in:
commit
5bf6b2bd10
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ def main():
|
|||
# Load and perform basic validation of config file.
|
||||
try:
|
||||
with (args.configpath / 'dbus-service.yaml').open(mode='rt') as configfd:
|
||||
config = yaml.load(configfd, Loader=yaml.BaseLoader)
|
||||
config = yaml.safe_load(configfd, Loader=yaml.BaseLoader)
|
||||
except FileNotFoundError:
|
||||
# No configuration file. Create default
|
||||
config = {'user_to_sid': {}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue