Handle the auto flag in promptForFlushDnsCache

This commit is contained in:
cryzed
2016-06-13 02:13:36 +02:00
parent 2858dcba1c
commit 85ada890ba
+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):