1
0
mirror of https://github.com/gryf/pygtkworldclock.git synced 2025-12-17 03:20:23 +01:00

Use safe_load method of yaml lib

This commit is contained in:
2019-05-30 19:12:18 +02:00
parent 09256c24f8
commit 5d129e54c4

View File

@@ -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,