Browse Source

Removed Exception from empty Poll result.

Stan Janssen 4 years ago
parent
commit
0ada647a26
1 changed files with 0 additions and 1 deletions
  1. 0 1
      openleadr/client.py

+ 0 - 1
openleadr/client.py

@@ -369,7 +369,6 @@ class OpenADRClient:
         print("Now polling")
         print("Now polling")
         response_type, response_payload = await self.poll()
         response_type, response_payload = await self.poll()
         if response_type is None:
         if response_type is None:
-            raise Exception("NO RESPONSE")
             return
             return
 
 
         if response_type == 'oadrResponse':
         if response_type == 'oadrResponse':