фикс от тех, что пишут hikka вместо .. в импорте

pull/144/head
Who? 2025-05-12 15:00:18 +00:00
parent fa51cda673
commit 079413e079
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ def patched_import(name: str, *args, **kwargs):
return native_import("herokutl" + name[7:], *args, **kwargs)
elif name.startswith ("from hikka"):
return native_import("from heroku" + name[11:], *args, **kwargs)
elif name.startswith ("from hikka"):
return native_import("import heroku" + name[13:], *args, **kwargs)
return native_import(name, *args, **kwargs)