mirror of https://github.com/coddrago/Heroku
maybe fix native imports
parent
d32bbf4f9b
commit
1c93630122
|
@ -147,8 +147,8 @@ def patched_import(name: str, *args, **kwargs):
|
||||||
return native_import("herokutl" + name[8:], *args, **kwargs)
|
return native_import("herokutl" + name[8:], *args, **kwargs)
|
||||||
elif name.startswith("hikkatl"):
|
elif name.startswith("hikkatl"):
|
||||||
return native_import("herokutl" + name[7:], *args, **kwargs)
|
return native_import("herokutl" + name[7:], *args, **kwargs)
|
||||||
elif name.startswith ("hikka"):
|
elif name.startswith ("from hikka import"):
|
||||||
return native_import("heroku" + name[5:], *args, **kwargs)
|
return native_import("from heroku import" + name[17:], *args, **kwargs)
|
||||||
|
|
||||||
return native_import(name, *args, **kwargs)
|
return native_import(name, *args, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue