fix: [WebStats] typo

pull/559/head
Terrtia 2021-04-02 17:09:29 +02:00
parent 24ef8bb461
commit 2cd6354351
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 5 additions and 5 deletions

View File

@ -80,23 +80,23 @@ class WebStats(AbstractModule):
def computeNone(self):
if self.generate_new_graph:
self.generate_new_graph = False
today = datetime.date.today()
year = today.year
month = today.month
self.redis_logger.debug('Building protocol graph')
lib_words.create_curve_with_word_file(self.r_serv_trend, csv_path_proto,
lib_words.create_curve_with_word_file(self.r_serv_trend, self.csv_path_proto,
protocolsfile_path, year,
month)
self.redis_logger.debug('Building tld graph')
lib_words.create_curve_with_word_file(self.r_serv_trend, csv_path_tld,
lib_words.create_curve_with_word_file(self.r_serv_trend, self.csv_path_tld,
tldsfile_path, year,
month)
self.redis_logger.debug('Building domain graph')
lib_words.create_curve_from_redis_set(self.r_serv_trend, csv_path_domain,
lib_words.create_curve_from_redis_set(self.r_serv_trend, self.csv_path_domain,
"domain", year,
month)
self.redis_logger.debug('end building')
@ -202,6 +202,6 @@ class WebStats(AbstractModule):
if __name__ == '__main__':
module = WebStats()
module.run()