merged with minor change around the condition as it wouldn't work with mid = '0'. instead two separate clauses of the condition one with (mid.isdigit() and int(mid) == 0) to preserve original intent/behavior.
« Back to merge proposal
merged with minor change around the condition as it wouldn't work with mid = '0'. instead two separate clauses of the condition one with (mid.isdigit() and int(mid) == 0) to preserve original intent/behavior.