Python-Unifi-Client 1.2.3__tar.gz → 1.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python_unifi_client
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Home-page: https://github.com/compdat-llc/unifi-client-python
5
5
  Author: Michael Lapinski
6
6
  Author-email: michaellapinski787@gmail.com
@@ -2445,9 +2445,9 @@ class Client:
2445
2445
 
2446
2446
  # force POST if GET or DELETE
2447
2447
 
2448
- #if self._curl_method in ('GET', 'DELETE'):
2449
- # self._curl_method = 'POST'
2450
- # opts['method'] = 'POST'
2448
+ if self._curl_method in ('GET', 'DELETE'):
2449
+ self._curl_method = 'POST'
2450
+ opts['method'] = 'POST'
2451
2451
 
2452
2452
 
2453
2453
  # 5) set custom method flags
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python_unifi_client
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Home-page: https://github.com/compdat-llc/unifi-client-python
5
5
  Author: Michael Lapinski
6
6
  Author-email: michaellapinski787@gmail.com
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="python_unifi_client",
8
- version="1.2.3",
8
+ version="1.2.4",
9
9
  author="Michael Lapinski",
10
10
  author_email="michaellapinski787@gmail.com",
11
11
  descripton="A python version of a github Art-of-Wifi/Unifi-API-Client",