Skip to content

Commit

Permalink
Solve pep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoranPandovski committed Jun 23, 2023
1 parent b079f12 commit 7239bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import requests
import subprocess


def build_container(reltype):
installer_version_url = f'https://public.api.mindsdb.com/installer/{reltype}/docker___success___None'

Expand All @@ -30,11 +31,10 @@ def build_container(reltype):

subprocess.run(command, shell=True, check=True)


if __name__ == '__main__':
if not sys.argv[1:]:
sys.exit("usage: build.py <beta|release>")

reltype = sys.argv[1]
build_container(reltype)


0 comments on commit 7239bae

Please sign in to comment.