Fix csv reading

This commit is contained in:
VirtuBox
2019-08-30 07:50:35 +02:00
parent 4e95fd9fba
commit bb418c23fc

View File

@@ -1492,8 +1492,7 @@ def checkWildcardExist(self, wo_domain_name):
except csv.Error as e: except csv.Error as e:
Log.debug(self, "{0}".format(e)) Log.debug(self, "{0}".format(e))
Log.error(self, "Failed to read cert list") Log.error(self, "Failed to read cert list")
finally:
wo_cert.close()
# copy wildcard certificate to a subdomain # copy wildcard certificate to a subdomain