Skip to content

Commit

Permalink
update transformer value access
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Sep 17, 2024
1 parent dd2a65f commit 59a5df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cross_sync/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_output_path(self, node):
for target in n.targets:
if isinstance(target, ast.Name) and target.id == self.FILE_ANNOTATION:
# return the output path
return n.value.value.replace(".", "/") + ".py"
return n.value.s.replace(".", "/") + ".py"

def visit_Module(self, node):
# look for __CROSS_SYNC_OUTPUT__ Assign statement
Expand Down

0 comments on commit 59a5df2

Please sign in to comment.