summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/internal
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/internal')
-rw-r--r--pyload/plugins/internal/OCR.py2
-rw-r--r--pyload/plugins/internal/SimpleCrypter.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/internal/OCR.py b/pyload/plugins/internal/OCR.py
index 9f8b7ef8c..c30125a03 100644
--- a/pyload/plugins/internal/OCR.py
+++ b/pyload/plugins/internal/OCR.py
@@ -185,7 +185,7 @@ class OCR(object):
highest = {}
counts = {}
- for angle in range(-45, 45):
+ for angle in xrange(-45, 45):
tmpimage = self.image.rotate(angle)
diff --git a/pyload/plugins/internal/SimpleCrypter.py b/pyload/plugins/internal/SimpleCrypter.py
index e93f5346d..4606b8016 100644
--- a/pyload/plugins/internal/SimpleCrypter.py
+++ b/pyload/plugins/internal/SimpleCrypter.py
@@ -98,6 +98,6 @@ class SimpleCrypter(Crypter):
else:
pages = 1
- for p in range(2, pages + 1):
+ for p in xrange(2, pages + 1):
self.html = self.loadPage(p)
self.package_links += self.getLinks()