Skip to content

Commit

Permalink
fix: interfaces import
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdang committed Jul 19, 2024
1 parent 86a607f commit 916a615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape_vyper/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def _get_imports(
dots += prefix[0]
prefix = prefix[1:]

is_relative = dots != ""
is_relative = dots != "" or prefix.startswith("interfaces")

# Replace rest of dots with slashes.
prefix = prefix.replace(".", os.path.sep)
Expand Down

0 comments on commit 916a615

Please sign in to comment.