Merge pull request #141 from cryzed/auto-for-flush-dns-cache

Handle the auto flag in promptForFlushDnsCache
This commit is contained in:
Steven Black
2016-06-12 21:28:50 -04:00
committed by GitHub
+6 -2
View File
@@ -177,8 +177,12 @@ def promptForMoreCustomExclusions(question="Do you have more domains you want to
def promptForFlushDnsCache():
if settings['flushdnscache'] or query_yes_no("Attempt to flush the DNS cache?"):
flushDnsCache()
if settings['auto']:
if settings['flushdnscache']:
flushDnsCache()
else:
if settings['flushdnscache'] or query_yes_no("Attempt to flush the DNS cache?"):
flushDnsCache()
def promptForMove(finalFile):