Skip to content

Commit c3ce751

Browse files
committed
Fix CLI entry point in new version
1 parent fc8b04b commit c3ce751

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

blackvue_wifi.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def download(self, path, *args, **kwargs):
108108
*args, **kwargs)
109109

110110

111-
if __name__ == "__main__":
111+
def main():
112112
client = BlackVueClient(config=confidence.Configuration(
113113
confidence.Configuration({'endpoint': '10.99.77.1'}),
114114
confidence.load_name('blackvue'),
@@ -122,3 +122,7 @@ def download(self, path, *args, **kwargs):
122122
print("Continous syncing will be included in the next version")
123123
else:
124124
print("Incremental downloads will be included in the next version")
125+
126+
127+
if __name__ == "__main__":
128+
main()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='blackvue_wifi',
13-
version='2018.8.11',
13+
version='2018.8.12',
1414
url='https://github.com/bartbroere/blackvue-wifi/',
1515
author='Bart Broere',
1616
author_email='[email protected]',

0 commit comments

Comments
 (0)