else if( value.type() == cVariant::UInt ) return PyInt_FromLong( value.asUInt() );
else if( value.type() == cVariant::Int ) return PyInt_FromLong( value.asInt() );
PyObject* wpItem_gettag( wpItem* self, PyObject* args ){	if( !self->pItem || self->pItem->free )		return Py_None;	if( PyTuple_Size( args ) < 1 || !checkArgStr( 0 ) )	{		clConsole.send( "Minimum argument count for gettag is 1\n" );		return Py_None;	}	QString key = PyString_AsString( PyTuple_GetItem( args, 0 ) );	cVariant value = self->pItem->tags.get( key );	if( value.type() == cVariant::String )		return PyString_FromString( value.asString().latin1() );	else if( value.type() == cVariant::UInt )		return PyInt_FromLong( value.asUInt() );	return Py_None;}