From 1706c9b21fa51ec664b97d818e0848bb43e90c78 Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Sat, 11 Apr 2015 00:33:16 -0400 Subject: [PATCH] oops, broke mirrors in last commit --- pirate-get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pirate-get.py b/pirate-get.py index 2742e43..1476c83 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -556,7 +556,7 @@ def main(): else: if f.getcode() != 200: raise IOError('The pirate bay responded with an error.') - mirrors.union([i.decode('utf-8').strip() + mirrors = mirrors.union([i.decode('utf-8').strip() for i in f.readlines()][3:]) for mirror in mirrors: