Skip to content

Commit

Permalink
chore: refactoring
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Buchar <jan.buchar@apify.com>
  • Loading branch information
barjin and janbuchar authored Nov 1, 2024
1 parent 679be87 commit ab1e2c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/parse_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def parse_expression(ast_node, full_expression):

with open(typedoc_types_path, "r") as f:
typedoc_out = {}
expressions = f.read()

expressions = json.loads(expressions)
expressions = json.load(f)

for expression in expressions:
try:
Expand Down

0 comments on commit ab1e2c4

Please sign in to comment.