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

Fix python 3 except syntax

This commit is contained in:
Rnhmjoj 2014-12-03 19:42:47 +01:00
parent c817681748
commit 71cf8d2d82

View File

@ -282,7 +282,7 @@ def main():
print("Trying " + mirror)
mags, sizes, uploaded, identifiers = remote(args, mirror)
break
except Exception, e:
except Exception as e:
print(format(e))
print("Could not contact " + mirror, color="WARN")
@ -417,7 +417,7 @@ def main():
continue
else:
break
except Exception, e:
except Exception as e:
print('Exception:')
print(str(e))
choices = ()