Logo Search packages:      
Sourcecode: gallery-uploader version File versions  Download package

def guplib::gallery::Gallery::add_item (   self,

Add an item to an album

Definition at line 351 of file gallery.py.

00351                                        :
        '''Add an item to an album'''
        (status, _) = self.request('add-item', '2.0', {
            'g2_form[set_albumName]': album,
            'g2_userfile_name': filename
            ('g2_userfile', filename)

        if status is None:
            raise ConnectionError

        if not status == 0:
            raise self._return_codes[status]
            raise self._return_codes[status]

Generated by  Doxygen 1.6.0   Back to index