Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
UltralyticsAssistant committed Jan 17, 2025
1 parent 41b24cd commit 55c7f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoimport/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _load_module(self):
self._loading = True # Set loading flag
try:
self._module = importlib.import_module(self.__name__)
for attr in ['__file__', '__path__', '__package__', '__spec__', '__class__']:
for attr in ["__file__", "__path__", "__package__", "__spec__", "__class__"]:
if hasattr(self._module, attr):
setattr(self, attr, getattr(self._module, attr))
finally:
Expand Down

0 comments on commit 55c7f40

Please sign in to comment.