Update loader.py

pull/160/head
Who? 2025-06-29 01:37:34 +07:00 committed by GitHub
parent 1c93630122
commit 56a80dc3d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -147,8 +147,8 @@ def patched_import(name: str, *args, **kwargs):
return native_import("herokutl" + name[8:], *args, **kwargs)
elif name.startswith("hikkatl"):
return native_import("herokutl" + name[7:], *args, **kwargs)
elif name.startswith ("from hikka import"):
return native_import("from heroku import" + name[17:], *args, **kwargs)
elif name.startswith ("from hikka"):
return native_import("from heroku" + name[10:], *args, **kwargs)
return native_import(name, *args, **kwargs)