From dbf3d5e1ae875d2901e81983a75e990a8550e31a Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 2 Feb 2019 15:10:02 -0800 Subject: [PATCH] remove test url --- pnut-matrix.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pnut-matrix.py b/pnut-matrix.py index a631068..e59a5e4 100644 --- a/pnut-matrix.py +++ b/pnut-matrix.py @@ -306,8 +306,7 @@ if __name__ == '__main__': with open("config.yaml", "rb") as config_file: config = yaml.load(config_file) - # ws_url = 'wss://stream.pnut.io/v0/app?access_token=' - ws_url = 'ws://192.168.1.200:9001/?' + ws_url = 'wss://stream.pnut.io/v0/app?access_token=' ws_url += config['PNUT_APPTOKEN'] + '&key=' + config['PNUT_APPKEY'] ws_url += '&include_raw=1' matrix_url = config['MATRIX_HOST'] + '/_matrix/client/r0'