If condition not working

Hi,
I have written a python script and I wonder that my if condition is still becoming true whereas the value states it is false. Is there anything that I am missing in:
Below is my code:

@frappe.whitelist()
def update_description(item_code, description, logo, other, orientation, location, customization_details):
	new_description=""
	if logo:
		frappe.msgprint("Logo:"+logo)
		frappe.msgprint("Other:"+other)
		new_description=description+"\n"+"Customization Details:"+"\n"+"Custom Logo: "+"Orientation:"+orientation+"\n"+"Location:"+location
	elif other:
		frappe.msgprint("Other")
 		new_description+description+"\n"+"Customization Details:"+"\n"+customization_details

	item = frappe.get_doc("Item", {"item_code": item_code}).update({"description": new_description})
    	item.save()
    	item.add_comment("Label", frappe._(new_description))
	return new_description

Actually logo and other are 2 checkboxes, I even tried printing their values as well, when I click on other checkbox the logo checkbox becomes unchecked and it prints
Logo:0
Other:1
Whereas it should not print this line and control should be moved to elif statement`.
Any idea?

Regards
Ruchin Sharma

I got the answer to my question after posting it here.
It was required to be converted into int
so I did:

if int(logo):

and

elif int(other):

Regards
Ruchin Sharma