Don't fetch remote blocklist when merging files

merge-fix
Julian-Samuel Gebühr 2023-07-13 11:35:32 +02:00
parent 3d0854ac4c
commit 626516e98c
1 changed files with 8 additions and 6 deletions

View File

@ -120,6 +120,8 @@ def cli():
else:
token = os.getenv('MBD_TOKEN')
"""Get a remote blocklist only when necessary"""
if args.action in ["diff", "deploy"]:
"""if there is a remote blocklist provided load this instead of fetching it from a server (for debugging reasons)"""
if args.remote_blocklist:
with open(args.remote_blocklist) as f: