mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
refactor: delete utils.info() in favor of utils.getqueryobj()
This commit is contained in:
parent
a72348602e
commit
08bdae5bca
@ -96,11 +96,6 @@ def config(key):
|
||||
|
||||
return obj[queryobj['module']][key]
|
||||
|
||||
def info():
|
||||
"""Get information from the current query"""
|
||||
|
||||
return { 'lang': lang, 'package': package, 'module': module }
|
||||
|
||||
def createdldir():
|
||||
"""Create the downloads folder of a current module"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user