Skip to content

Commit

Permalink
Fix CLI entry point in new version
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbroere committed Aug 12, 2018
1 parent fc8b04b commit c3ce751
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion blackvue_wifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def download(self, path, *args, **kwargs):
*args, **kwargs)


if __name__ == "__main__":
def main():
client = BlackVueClient(config=confidence.Configuration(
confidence.Configuration({'endpoint': '10.99.77.1'}),
confidence.load_name('blackvue'),
Expand All @@ -122,3 +122,7 @@ def download(self, path, *args, **kwargs):
print("Continous syncing will be included in the next version")
else:
print("Incremental downloads will be included in the next version")


if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='blackvue_wifi',
version='2018.8.11',
version='2018.8.12',
url='https:/bartbroere/blackvue-wifi/',
author='Bart Broere',
author_email='[email protected]',
Expand Down

0 comments on commit c3ce751

Please sign in to comment.