Skip to content

Commit d2a2a95

Browse files
committed
Improve compatibility error reporting as per #199
1 parent ba09713 commit d2a2a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipfshttpclient/exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def __init__(self, current, minimum, maximum):
4343
self.minimum = minimum
4444
self.maximum = maximum
4545

46-
msg = "Unsupported daemon version '{}' (not in range: {} {})".format(
47-
current, minimum, maximum
46+
msg = "Unsupported daemon version '{}' (not in range: {} ≤ … < {})".format(
47+
".".join(map(str, current)), ".".join(map(str, minimum)), ".".join(map(str, maximum))
4848
)
4949
Error.__init__(self, msg)
5050

0 commit comments

Comments
 (0)