mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-15 07:08:20 +00:00
1 parent
1dc456b4fa
commit
4ce0fbdf3f
1 file changed
+4
-1
+4
-1
@@ -146,8 +146,11 @@ def promptForUpdate():
|
||||
except:
|
||||
printFailure("ERROR: No 'hosts' file in the folder, try creating one manually")
|
||||
|
||||
if not update:
|
||||
return
|
||||
|
||||
response = "yes" if auto else query_yes_no("Do you want to update all data sources?")
|
||||
if response == "yes" and update:
|
||||
if response == "yes":
|
||||
updateAllSources()
|
||||
else:
|
||||
if not auto:
|
||||
|
||||
Reference in new issue
Block a user