File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ async def _get_srv_response_and_hosts(
144144 "Invalid SRV host: return address is identical to SRV hostname"
145145 )
146146 try :
147- nlist = node [ 0 ]. lower () .split ("." )[1 :][- self .__slen :]
147+ nlist = srv_host .split ("." )[1 :][- self .__slen :]
148148 except Exception :
149149 raise ConfigurationError (f"Invalid SRV host: { node [0 ]} " ) from None
150150 if self .__plist != nlist :
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def _get_srv_response_and_hosts(
144144 "Invalid SRV host: return address is identical to SRV hostname"
145145 )
146146 try :
147- nlist = node [ 0 ]. lower () .split ("." )[1 :][- self .__slen :]
147+ nlist = srv_host .split ("." )[1 :][- self .__slen :]
148148 except Exception :
149149 raise ConfigurationError (f"Invalid SRV host: { node [0 ]} " ) from None
150150 if self .__plist != nlist :
You can’t perform that action at this time.
0 commit comments