Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the collect data run not returning #308

Merged
merged 1 commit into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "uk_bin_collection"
version = "0.6.0"
version = "0.7.0"
description = "Python Lib to collect UK Bin Data"
readme = "README.md"
authors = ["Robert Bradley <robbrad182@gmail.com>"]
Expand Down
6 changes: 3 additions & 3 deletions uk_bin_collection/uk_bin_collection/collect_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self):
"--postcode",
type=str,
help="Postcode to parse - should include a space and be wrapped in "
"double-quotes",
"double-quotes",
required=False,
)
self.parser.add_argument(
Expand Down Expand Up @@ -68,7 +68,7 @@ def run(self):
skip_get_url = self.parsed_args.skip_get_url
dev_mode = self.parsed_args.dev_mode

self.client_code(
return self.client_code(
council_module.CouncilClass(),
address_url,
postcode=postcode,
Expand All @@ -85,4 +85,4 @@ def run(self):

app = UKBinCollectionApp()
app.set_args(sys.argv[1:])
app.run()
app.run()