mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-24 12:14:20 +01:00
oops, broke mirrors in last commit
This commit is contained in:
parent
69f165ea90
commit
1706c9b21f
@ -556,7 +556,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
if f.getcode() != 200:
|
if f.getcode() != 200:
|
||||||
raise IOError('The pirate bay responded with an error.')
|
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 i in f.readlines()][3:])
|
||||||
|
|
||||||
for mirror in mirrors:
|
for mirror in mirrors:
|
||||||
|
Loading…
Reference in New Issue
Block a user