mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 19:48:31 +02:00
update yaml loader to new method
This commit is contained in:
parent
7d8823da6d
commit
e16e3a1f62
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def config_var(config_data, journal_name, should_or_should_not, some_yaml):
|
|||
if journal_name:
|
||||
actual = actual["journals"][journal_name]
|
||||
|
||||
expected = yaml.load(some_yaml, Loader=yaml.FullLoader)
|
||||
expected = yaml.load(some_yaml, Loader=yaml.SafeLoader)
|
||||
|
||||
actual_slice = actual
|
||||
if type(actual) is dict:
|
||||
|
|
Loading…
Add table
Reference in a new issue