We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dea00c commit b411da9Copy full SHA for b411da9
frog_wrapper.pyx
@@ -127,7 +127,10 @@ cdef class FrogOptions:
127
else:
128
self.capi.insert(<string>b"id", <string>value.encode('utf-8'))
129
elif key.lower() in ('numthreads','threads'):
130
- self.capi.insert(<string>b"threads",<string>value)
+ if isinstance(value, int):
131
+ self.capi.insert(<string>b"threads",str(value).encode('utf-8'))
132
+ else:
133
+ self.capi.insert(<string>b"threads",<string>value)
134
135
if key == 'x':
136
self.shadow['xmlin'] = True
0 commit comments