From: Radek Czajka Date: Wed, 28 Nov 2012 13:24:31 +0000 (+0100) Subject: fix gallery merge: unnecessary assertions X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f681a59fe987944e665fca8b0796b38ae24d0d98?ds=inline fix gallery merge: unnecessary assertions --- diff --git a/apps/catalogue/helpers.py b/apps/catalogue/helpers.py index 0009c6db..d340b461 100644 --- a/apps/catalogue/helpers.py +++ b/apps/catalogue/helpers.py @@ -46,8 +46,6 @@ def parse_isodate(isodate): class GalleryMerger(object): def __init__(self, dest_gallery, src_gallery): - assert isinstance(dest_gallery, str) - assert isinstance(src_gallery, str) self.dest = dest_gallery self.src = src_gallery self.dest_size = None