fix unused imports and version
This commit is contained in:
parent
a329bd3d1e
commit
129dfc181a
5 changed files with 6 additions and 12 deletions
|
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import datetime
|
||||
|
||||
from .base import IBaseCap, CapBaseObject, NotLoaded
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ class BaseGallery(CapBaseObject):
|
|||
class BaseImage(CapBaseObject):
|
||||
def __init__(self, _id, index=None, thumbnail=NotLoaded, url=NotLoaded, ext=NotLoaded):
|
||||
CapBaseObject.__init__(self, unicode(_id))
|
||||
|
||||
|
||||
self.add_field('index', int, index) # usually page number
|
||||
self.add_field('thumbnail', Thumbnail, thumbnail)
|
||||
self.add_field('url', basestring, url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue