mirror of
https://github.com/gryf/pygtkworldclock.git
synced 2025-12-17 11:30:21 +01:00
Use safe_load method of yaml lib
This commit is contained in:
@@ -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