1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-09 09:59:51 +01:00

oops, broke mirrors in last commit

This commit is contained in:
Viktor Stanchev 2015-04-11 00:33:16 -04:00
parent 69f165ea90
commit 1706c9b21f

View File

@ -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: