Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Fix DataFrameClient import error on python3.5 #371

Merged
merged 1 commit into from
Oct 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion influxdb/dataframe_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
from .client import InfluxDBClient

class DataFrameClient(InfluxDBClient):
err = err

def __init__(self, *a, **kw):
raise ImportError("DataFrameClient requires Pandas "
"which couldn't be imported: %s" % err)
"which couldn't be imported: %s" % self.err)
else:
from ._dataframe_client import DataFrameClient