Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit e45fa970 authored by JOSSOUD Olivier's avatar JOSSOUD Olivier
Browse files

Rename SSHDMC to SFTPDMC.

parent f43d142f
......@@ -6,7 +6,7 @@ import sys
import argparse
import wimcollect.httpddu as httpddu
import wimcollect.sshdmc as sshdmc
import wimcollect.sftpdmc as sftpdmc
import wimcollect.common.logger as logger
import wimcollect.quickviz as quickviz
import wimcollect.ftpaeris as ftpaeris
......@@ -37,8 +37,8 @@ def main():
httpddu_col = httpddu.Collector()
httpddu_col.download_picarro(yesterday)
sshdmc_col = sshdmc.Collector()
sshdmc_col.download_picarro(yesterday)
sftpdmc_col = sftpdmc.Collector()
sftpdmc_col.download_picarro(yesterday)
vizual = quickviz.Visualizator()
vizual.create_data_source_file("DDU", "HIDS2189", yesterday)
......@@ -117,9 +117,9 @@ def quickviz_antarctica():
except:
pass
sshdmc_col = sshdmc.Collector(config_parser, log)
sftpdmc_col = sftpdmc.Collector(config_parser, log)
try:
sshdmc_col.download_picarro(args.day)
sftpdmc_col.download_picarro(args.day)
except:
pass
......
......@@ -13,7 +13,7 @@ class Collector(utils.LogConfig):
"""
def __init__(self, config_parser: configobj.ConfigObj = None, log: logger = None):
utils.LogConfig.__init__(self, "SSHDMC", config_parser, log)
utils.LogConfig.__init__(self, "SFTPDMC", config_parser, log)
self.distant_base_dir = self.config[self.object_id]["distant_base_dir"]
def download_picarro(self, day: datetime.date):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment