mirror of
https://github.com/gryf/pygtkworldclock.git
synced 2026-11-20 14:07:02 +01:00
Use safe_load method of yaml lib
This commit is contained in:
1 parent
09256c24f8
commit
5d129e54c4
1 file changed
+1
-1
+1
-1
@@ -255,7 +255,7 @@ def main():
|
||||
conf_path = args.config
|
||||
|
||||
with open(conf_path) as fobj:
|
||||
conf = yaml.load(fobj)
|
||||
conf = yaml.safe_load(fobj)
|
||||
|
||||
clocks = Clocks(conf,
|
||||
size=args.size,
|
||||
|
||||
Reference in new issue
Block a user