mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [WebStats] typo
This commit is contained in:
parent
24ef8bb461
commit
2cd6354351
1 changed files with 5 additions and 5 deletions
|
@ -80,23 +80,23 @@ class WebStats(AbstractModule):
|
||||||
def computeNone(self):
|
def computeNone(self):
|
||||||
if self.generate_new_graph:
|
if self.generate_new_graph:
|
||||||
self.generate_new_graph = False
|
self.generate_new_graph = False
|
||||||
|
|
||||||
today = datetime.date.today()
|
today = datetime.date.today()
|
||||||
year = today.year
|
year = today.year
|
||||||
month = today.month
|
month = today.month
|
||||||
|
|
||||||
self.redis_logger.debug('Building protocol graph')
|
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,
|
protocolsfile_path, year,
|
||||||
month)
|
month)
|
||||||
|
|
||||||
self.redis_logger.debug('Building tld graph')
|
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,
|
tldsfile_path, year,
|
||||||
month)
|
month)
|
||||||
|
|
||||||
self.redis_logger.debug('Building domain graph')
|
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,
|
"domain", year,
|
||||||
month)
|
month)
|
||||||
self.redis_logger.debug('end building')
|
self.redis_logger.debug('end building')
|
||||||
|
@ -202,6 +202,6 @@ class WebStats(AbstractModule):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
module = WebStats()
|
module = WebStats()
|
||||||
module.run()
|
module.run()
|
||||||
|
|
Loading…
Reference in a new issue