Skip to content

Commit

Permalink
Merge pull request #18 from gha88/parse_from_file_encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
subho007 authored Dec 28, 2023
2 parents c3eb641 + d156a68 commit 53a68c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postmanparser/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def parse(self, data: dict):

def parse_from_file(self, file_path):
self.file_path = file_path
with open(self.file_path, "r") as f:
with open(self.file_path, "r", encoding="utf-8") as f:
data = json.loads(f.read())
self.validate(data)
self.parse(data)
Expand Down

0 comments on commit 53a68c9

Please sign in to comment.