devtools: fix relative imports inside eval
This commit is contained in:
@@ -331,7 +331,8 @@ async def aexec(code, event):
|
||||
'reply': await event.get_reply_message(),
|
||||
'chat': event.chat_id,
|
||||
'u': u,
|
||||
'__builtins__': __builtins__
|
||||
'__builtins__': __builtins__,
|
||||
'__name__': __name__
|
||||
}
|
||||
|
||||
# Format the async function definition
|
||||
|
||||
Reference in New Issue
Block a user