Skip to content

Commit

Permalink
Merge pull request #308 from OliverCullimore/306-collectdata-fix
Browse files Browse the repository at this point in the history
Fix the collect data run not returning
  • Loading branch information
robbrad authored Jul 23, 2023
2 parents 85a6512 + 8aca25b commit 34d3f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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()

0 comments on commit 34d3f73

Please sign in to comment.