Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farshadz1997 committed Jul 19, 2021
1 parent d6cbc8e commit 24cd9e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DNS Changer GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ def Get_DNS(self):
adaptor = self.connections_combobox.get()
config = subprocess.check_output(f'netsh interface ipv4 show config name={adaptor}', stdin = subprocess.PIPE, stderr = subprocess.STDOUT).decode()
config_list = re.sub(' +', ' ',re.search('Statically Configured DNS Servers:', config).string).split("\n")
print(config)
primary_dns = False
for i in config_list:
if primary_dns:
Expand Down

0 comments on commit 24cd9e9

Please sign in to comment.