From 47cd3f77648075c2e8bd15b675dfe05bbf535a6b Mon Sep 17 00:00:00 2001 From: m0mchil Date: Thu, 20 Sep 2012 15:16:21 +0300 Subject: [PATCH] check always for stratum --- Servers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Servers.py b/Servers.py index 6180b9c..21f14b7 100644 --- a/Servers.py +++ b/Servers.py @@ -223,11 +223,9 @@ def server_transport(self): if len(self.server) < 6: if self.server[0] == 'stratum': self.server = self.server + (StratumTransport.StratumTransport(self, self.server), ) - elif self.server[0] == 'http' or self.server[0] == 'https': - self.server = self.server + (HttpTransport.HttpTransport(self, self.server), ) else: http_server = HttpTransport.HttpTransport(self, self.server) - say_line('no protocol specified, detecting...') + say_line('checking for stratum...') stratum_host = http_server.detect_stratum() if stratum_host: