diff --git a/papi/relais.py b/papi/relais.py index a7883b4..9a21bd2 100644 --- a/papi/relais.py +++ b/papi/relais.py @@ -92,7 +92,7 @@ def main( fetch=api_fetch, forward=api_forward, forward_error=forward_api_error, - pattern="relais_*" + pattern="relais_*", ): loopcount = itertools.count().__next__ conf = config.read_config(kind="relais", pattern=pattern) @@ -101,12 +101,12 @@ def main( try: login(conf) except Exception as E: - forward_error(conf,str(E)) + forward_error(conf, str(E)) while loopcount() < maxloop: try: current = fetch(conf).json() except Exception as E: - forward_error(conf,str(E)) + forward_error(conf, str(E)) else: forward(conf, current)