We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d4af4 commit 3edac3cCopy full SHA for 3edac3c
tools/genpython.pm
@@ -380,9 +380,9 @@ sub gen() {
380
print " def getString_$pythonfield(self):\n";
381
print " carr = \"\";\n";
382
print " for i in range(0, 4000):\n";
383
- print " if self.getElement_$pythonfield(i) == chr(0):\n";
+ print " if self.getElement_$pythonfield(i) == 0:\n";
384
print " break\n";
385
- print " carr += self.getElement_$pythonfield(i)\n";
+ print " carr += chr(self.getElement_$pythonfield(i))\n";
386
print " return carr\n";
387
print " \n";
388
}
0 commit comments