- commit
- 71ab6ac0f664c0f73306cc787ee00a80abf55d2b
- parent
- 35bca602f3c051a084b1a07d3ec2e4ab329669fe
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-12-21 10:44
cleanup
Diffstat
| M | plutopluto/__init__.py | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/plutopluto/__init__.py b/plutopluto/__init__.py
@@ -140,7 +140,7 @@ async def route_parse(request): 140 140 else: 141 141 data = await parse_feed(url) 142 142 except Exception as err:143 -1 logger.warning('%s: %s' % (url, err))-1 143 logger.warning(f'{url}: {err}') 144 144 raise web.HTTPInternalServerError from err 145 145 146 146 body = json.dumps(data, sort_keys=True) @@ -195,7 +195,7 @@ def main(): 195 195 global URLS 196 196 URLS = get_config(args) 197 197 if not URLS:198 -1 print('Error: No urls provided')-1 198 logger.error('Error: No urls provided') 199 199 parser.print_usage() 200 200 sys.exit(1) 201 201