mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-15 07:08:20 +00:00
Correcting syntax error with elif.
This commit is contained in:
1 parent
4b8995a9af
commit
3e6a5c42c8
1 file changed
+1
-1
+1
-1
@@ -208,7 +208,7 @@ def moveHostsFileIntoPlace(finalFile):
|
||||
else:
|
||||
if(subprocess.call(["/usr/bin/sudo", "/etc/rc.d/init.d/nscd", "restart"])):
|
||||
printFailure("Flushing the DNS Cache failed.")
|
||||
else if (os.name == 'nt'):
|
||||
elif (os.name == 'nt'):
|
||||
print 'Automatically moving the hosts file in place is not yet supported.'
|
||||
print 'Please move the generated file to %SystemRoot%\system32\drivers\etc\hosts'
|
||||
|
||||
|
||||
Reference in new issue
Block a user