Skip to content

Commit

Permalink
Delete extra [].
Browse files Browse the repository at this point in the history
  • Loading branch information
albags committed Jul 16, 2024
1 parent dd7edab commit d41ecc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion interactive_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def display_menu():
fullname = get_input("\nYour Full Name")

countries = list(
{[d["country"] for d in all_deployments if d["status"] == "active"]}
{d["country"] for d in all_deployments if d["status"] == "active"}
)
country = get_choice("Countries:", countries)

Expand Down
2 changes: 1 addition & 1 deletion s3_bucket_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def display_menu():
all_deployments = get_deployments()

countries = list(
{[d["country"] for d in all_deployments if d["status"] == "active"]}
{d["country"] for d in all_deployments if d["status"] == "active"}
)
country = get_choice("Countries:", countries)

Expand Down
2 changes: 1 addition & 1 deletion s3_download_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def display_menu():
all_deployments = get_deployments(username, password)

countries = list(
{[d["country"] for d in all_deployments if d["status"] == "active"]}
{d["country"] for d in all_deployments if d["status"] == "active"}
)
country = get_choice("Countries:", countries)

Expand Down

0 comments on commit d41ecc2

Please sign in to comment.