diff --git a/requirements.txt b/requirements.txt index 22f8b86..8a841da 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ setuptools~=50.3.2 stdeb3~=0.9.0.post2 paho-mqtt~=1.5.1 stem>=1.8.0 +PySocks diff --git a/torch_agent/torch_agent.py b/torch_agent/torch_agent.py index 15fd3e6..f34f211 100755 --- a/torch_agent/torch_agent.py +++ b/torch_agent/torch_agent.py @@ -1,7 +1,7 @@ from stem.control import Controller import stem.connection import paho.mqtt.client as mqtt -from paho.mqtt.client import socks +import socks import ssl import socket import json