Skip to content

Commit

Permalink
Add missing load_language call
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 23, 2024
1 parent 8960d27 commit ffca5d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

from typing import List
from ifaddr import get_adapters
from lingua_franca import load_language
from neon_utils.user_utils import get_user_prefs
from requests import get
from adapt.intent import IntentBuilder
Expand Down Expand Up @@ -102,6 +103,7 @@ def handle_query_ip(self, message):
Handle a user request for the IP Address
:param message: Message associated with request
"""
load_language(self.lang)
if message.data.get("public"):
public = True
addr = {'public': self._get_public_ip_address(message)}
Expand Down

0 comments on commit ffca5d9

Please sign in to comment.