Skip to content

Commit 7a2d440

Browse files
committed
Fix bug. delete_database returns 201.
1 parent 03d39ec commit 7a2d440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def delete_database(self, database):
8888
self._username,
8989
self._password))
9090

91-
if response.status_code == 200:
91+
if response.status_code == 201:
9292
return True
9393
else:
9494
raise Exception(response.content)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy