Fix falsy-dict-get-fallback ruff warning (#3226)

This commit is contained in:
correctmost 2025-03-05 21:05:59 -05:00 committed by GitHub
parent 697ccd1ac5
commit 49347c2f82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class MirrorConfiguration:
for region, urls in mirror_regions.items():
config.mirror_regions.append(MirrorRegion(region, urls))
if args.get('custom_servers', []):
if args.get('custom_servers'):
config.custom_servers = CustomServer.parse_args(args['custom_servers'])
# backwards compatibility with the new custom_repository