Skip to content

Commit af55b0a

Browse files
authored
%d format is for a number, not str (hardbyte#1281)
1 parent ebae360 commit af55b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can/interfaces/neousys/neousys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class NeousysCanBitClk(Structure):
131131
NEOUSYS_CANLIB = CDLL("libwdt_dio.so")
132132
logger.info("Loaded Neousys WDT_DIO Can driver")
133133
except OSError as error:
134-
logger.info("Cannot load Neousys CAN bus dll or shared object: %d", format(error))
134+
logger.info("Cannot load Neousys CAN bus dll or shared object: %s", error)
135135

136136

137137
class NeousysBus(BusABC):

0 commit comments

Comments
 (0)