Skip to content

Commit

Permalink
Fix DNS error when user input within the program
Browse files Browse the repository at this point in the history
  • Loading branch information
ductin committed Oct 18, 2017
1 parent b577b21 commit 8ef8049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def get_input(s, option):
while not re.match('[a-zA-Z0-9., ]*$', user_input.strip()):
user_input = raw_input('DNS server(s) with "," separated or Enter to use default: ')
if user_input:
s.dns['dns'] = user_input.replace(' ', '').split(',')
s.dns['dns'] = user_input
else:
s.dns['dns'] = '8.8.8.8, 84.200.69.80, 208.67.222.222'

Expand Down

0 comments on commit 8ef8049

Please sign in to comment.