Skip to content

Commit 0cd7a1f

Browse files
authored
Merge pull request influxdata#371 from vodik/master
Fix DataFrameClient import error on python3.5
2 parents 898c4b6 + 355b1a9 commit 0cd7a1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

influxdb/dataframe_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
from .client import InfluxDBClient
1717

1818
class DataFrameClient(InfluxDBClient):
19+
err = err
20+
1921
def __init__(self, *a, **kw):
2022
raise ImportError("DataFrameClient requires Pandas "
21-
"which couldn't be imported: %s" % err)
23+
"which couldn't be imported: %s" % self.err)
2224
else:
2325
from ._dataframe_client import DataFrameClient

0 commit comments

Comments
 (0)