Set return true properly

This commit is contained in:
VirtuBox
2019-08-30 07:53:49 +02:00
parent bb418c23fc
commit 2d1c17648e

View File

@@ -1485,8 +1485,8 @@ def checkWildcardExist(self, wo_domain_name):
try:
for row in reader:
if wo_wildcard in row[2]:
break
return True
break
else:
return False
except csv.Error as e: