mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
oops, my python is leaking
This commit is contained in:
parent
03080dbe1f
commit
d194fe9640
|
@ -646,7 +646,7 @@ std::string format_section(long double number, const section &format, xlnt::cale
|
|||
|
||||
auto between = format.value.substr(prev, index - prev);
|
||||
|
||||
if (between == "/" and part == "pm")
|
||||
if (between == "/" && part == "pm")
|
||||
{
|
||||
index += part.size();
|
||||
prev = index;
|
||||
|
|
Loading…
Reference in New Issue
Block a user