mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Grid now sends language used to opwngrid.xyz
This commit is contained in:
@ -69,6 +69,7 @@ def update_data(last_session):
|
|||||||
pass
|
pass
|
||||||
enabled = [name for name, options in pwnagotchi.config['main']['plugins'].items() if
|
enabled = [name for name, options in pwnagotchi.config['main']['plugins'].items() if
|
||||||
'enabled' in options and options['enabled']]
|
'enabled' in options and options['enabled']]
|
||||||
|
language = pwnagotchi.config['main']['lang']
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
'session': {
|
'session': {
|
||||||
@ -87,7 +88,8 @@ def update_data(last_session):
|
|||||||
'brain': brain,
|
'brain': brain,
|
||||||
'version': pwnagotchi.__version__,
|
'version': pwnagotchi.__version__,
|
||||||
'build': "Pwnagotchi-Torch by Jayofelony",
|
'build': "Pwnagotchi-Torch by Jayofelony",
|
||||||
'plugins': enabled
|
'plugins': enabled,
|
||||||
|
'language': language
|
||||||
}
|
}
|
||||||
|
|
||||||
logging.debug("updating grid data: %s" % data)
|
logging.debug("updating grid data: %s" % data)
|
||||||
|
Reference in New Issue
Block a user