removed comments

This commit is contained in:
Michael Clemens 2022-05-20 17:17:39 +02:00
parent 891620e48c
commit 6bdf4d9233
1 changed files with 0 additions and 3 deletions

View File

@ -58,12 +58,10 @@ class ColorSpot():
self.confirmed_entities = self.get_confirmed_entities()
if self.check_cty:
#self.cty = list(csv.reader(open(self.config['files']['cty'], "r"), delimiter=","))
with open(self.config['files']['cty'], encoding='us-ascii') as csvfile:
self.cty = list(csv.reader(csvfile, delimiter=','))
def print_banner(self):
"""print an awesome banner"""
print(fg(self.rnd_col())+" ___ _ ___ _ ")
@ -225,7 +223,6 @@ class ColorSpot():
"""Reads the LotW user activity file and returns the date
of the last upload date if a specific call sign"""
ret = ""
#csv_file = csv.reader(open(self.config['files']['lotw_activity'], "r"), delimiter=",")
with open(self.config['files']['lotw_activity'], encoding='us-ascii') as csvfile:
csv_file = csv.reader(csvfile, delimiter=',')
#loop through the csv file