Skip to content

Commit

Permalink
Merge pull request ivy-llc#10892 from Infrared1029/master
Browse files Browse the repository at this point in the history
fixed path bug with windows machines
  • Loading branch information
Infrared1029 authored Feb 23, 2023
2 parents 5983bea + 5bf55b0 commit c445f9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ivy/utils/backend/handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# global
import os
import sys
import copy
import types
Expand Down Expand Up @@ -264,7 +265,7 @@ def _set_backend_as_ivy(
if (
isinstance(v, types.ModuleType)
and "ivy.functional." in v.__name__
and "{}/__init__.py".format(backend_str) not in v.__file__
and os.path.join("{}", "__init__.py").format(backend_str) not in v.__file__
):
_set_backend_as_ivy(
v.__dict__,
Expand Down

0 comments on commit c445f9d

Please sign in to comment.