removed comments
This commit is contained in:
parent
891620e48c
commit
6bdf4d9233
@ -58,12 +58,10 @@ class ColorSpot():
|
|||||||
self.confirmed_entities = self.get_confirmed_entities()
|
self.confirmed_entities = self.get_confirmed_entities()
|
||||||
|
|
||||||
if self.check_cty:
|
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:
|
with open(self.config['files']['cty'], encoding='us-ascii') as csvfile:
|
||||||
self.cty = list(csv.reader(csvfile, delimiter=','))
|
self.cty = list(csv.reader(csvfile, delimiter=','))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def print_banner(self):
|
def print_banner(self):
|
||||||
"""print an awesome banner"""
|
"""print an awesome banner"""
|
||||||
print(fg(self.rnd_col())+" ___ _ ___ _ ")
|
print(fg(self.rnd_col())+" ___ _ ___ _ ")
|
||||||
@ -225,7 +223,6 @@ class ColorSpot():
|
|||||||
"""Reads the LotW user activity file and returns the date
|
"""Reads the LotW user activity file and returns the date
|
||||||
of the last upload date if a specific call sign"""
|
of the last upload date if a specific call sign"""
|
||||||
ret = ""
|
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:
|
with open(self.config['files']['lotw_activity'], encoding='us-ascii') as csvfile:
|
||||||
csv_file = csv.reader(csvfile, delimiter=',')
|
csv_file = csv.reader(csvfile, delimiter=',')
|
||||||
#loop through the csv file
|
#loop through the csv file
|
||||||
|
Loading…
Reference in New Issue
Block a user