mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-10-01 14:00:55 +00:00
Merge f62d448c6e
into 7646095b94
This commit is contained in:
commit
bdd20106eb
@ -36,7 +36,7 @@ except OSError:
|
|||||||
|
|
||||||
# for generating CSRs we need a list of country codes
|
# for generating CSRs we need a list of country codes
|
||||||
csr_country_codes = []
|
csr_country_codes = []
|
||||||
with open(os.path.join(os.path.dirname(me), "csr_country_codes.tsv")) as f:
|
with open(os.path.join(os.path.dirname(me), "csr_country_codes.tsv"), encoding="utf-8") as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
if line.strip() == "" or line.startswith("#"): continue
|
if line.strip() == "" or line.startswith("#"): continue
|
||||||
code, name = line.strip().split("\t")[0:2]
|
code, name = line.strip().split("\t")[0:2]
|
||||||
|
Loading…
Reference in New Issue
Block a user