diff --git a/blackvue_wifi.py b/blackvue_wifi.py index a0e3ffb..57a6def 100644 --- a/blackvue_wifi.py +++ b/blackvue_wifi.py @@ -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'), @@ -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() diff --git a/setup.py b/setup.py index b84680f..8f394ac 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='blackvue_wifi', - version='2018.8.11', + version='2018.8.12', url='https://github.com/bartbroere/blackvue-wifi/', author='Bart Broere', author_email='maiil@bartbroere.eu',