From a2b30011030aac59c48792636c020cdd35ae22f0 Mon Sep 17 00:00:00 2001 From: Alexandre Viau Date: Sat, 5 Dec 2015 14:27:49 -0500 Subject: [PATCH] Revert "Create db only if doesn't exist yet" --- influxdb/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb/client.py b/influxdb/client.py index 99a88720..b9fcb0c3 100644 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -460,7 +460,7 @@ def create_database(self, dbname): :param dbname: the name of the database to create :type dbname: str """ - self.query("CREATE DATABASE IF NOT EXISTS \"%s\"" % dbname) + self.query("CREATE DATABASE \"%s\"" % dbname) def drop_database(self, dbname): """Drop a database from InfluxDB.