removed comments
This commit is contained in:
parent
891620e48c
commit
6bdf4d9233
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user