From f681a59fe987944e665fca8b0796b38ae24d0d98 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 28 Nov 2012 14:24:31 +0100 Subject: [PATCH] fix gallery merge: unnecessary assertions --- apps/catalogue/helpers.py | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.20.1