Skip to content

Commit

Permalink
fix: set yaml loader for history
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasheld committed Sep 3, 2021
1 parent 99405a7 commit e490588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion history.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_history(self) -> List[str]:
return []
else:
with open(self.history_file, "r") as file:
history: List[str] = yaml.load(file.read())
history: List[str] = yaml.load(file.read(), Loader=yaml.FullLoader)
return history

def is_in_history(self, url: str) -> bool:
Expand Down

0 comments on commit e490588

Please sign in to comment.