Skip to content

Commit

Permalink
skip execution if url is empty
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Pashmfouroush <[email protected]>
  • Loading branch information
markpash committed Sep 24, 2024
1 parent 5c80a92 commit ee62d59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
args = parser.parse_args()

def main():
if args.url == "":
return

s3_keys = None
if args.s3_access is not None and args.s3_secret is not None:
s3_keys = (args.s3_access, args.s3_secret)
Expand Down

0 comments on commit ee62d59

Please sign in to comment.