summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crocoite/controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/controller.py b/crocoite/controller.py
index a64a8dc..d6f6d7a 100644
--- a/crocoite/controller.py
+++ b/crocoite/controller.py
@@ -265,7 +265,7 @@ class PrefixLimit (RecursionPolicy):
self.prefix = prefix
def __call__ (self, urls):
- return set (filter (lambda u: u.startswith (self.prefix), urls))
+ return set (filter (lambda u: str(u).startswith (str (self.prefix)), urls))
class RecursiveController:
"""