diff --git a/pyasic/data/__init__.py b/pyasic/data/__init__.py index 02339b01..895a8aaf 100644 --- a/pyasic/data/__init__.py +++ b/pyasic/data/__init__.py @@ -190,7 +190,7 @@ def as_influxdb(self, measurement_name: str = "miner_data"): tags = ["ip", "mac", "model", "hostname"] for attribute in self: if attribute in tags: - tag_data.append(f"{attribute}={self[attribute]}") + tag_data.append(f'{attribute}="{self[attribute]}"') continue if isinstance(self[attribute], str): field_data.append(f'{attribute}="{self[attribute]}"') diff --git a/pyproject.toml b/pyproject.toml index 50d3a2c4..06398ca1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyasic" -version = "0.16.3" +version = "0.16.4" description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH." authors = ["UpstreamData "] repository = "https://github.com/UpstreamData/pyasic"