1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00
This commit is contained in:
Louis Vézina 2019-11-08 09:57:37 -05:00
parent 8ed8ecd39b
commit 79baeb7c0e
2 changed files with 2 additions and 2 deletions

View file

@ -1103,7 +1103,7 @@ class _BaseNetwork(_IPAddressBase):
try: try:
# Always false if one is v4 and the other is v6. # Always false if one is v4 and the other is v6.
if a._version != b._version: if a._version != b._version:
raise TypeError("%s and %s are not of the same version" (a, b)) raise TypeError("%s and %s are not of the same version" % (a, b))
return (b.network_address <= a.network_address and return (b.network_address <= a.network_address and
b.broadcast_address >= a.broadcast_address) b.broadcast_address >= a.broadcast_address)
except AttributeError: except AttributeError:

View file

@ -154,7 +154,7 @@
<tr> <tr>
<td>{{provider[0]}}</td> <td>{{provider[0]}}</td>
<td>{{provider[1] if provider[1] is not None else "Good"}}</td> <td>{{provider[1] if provider[1] is not None else "Good"}}</td>
<td>{{provider[2] if provider[2] is not "now" else "-"}}</td> <td>{{provider[2] if provider[2] != "now" else "-"}}</td>
</tr> </tr>
%end %end
</tbody> </tbody>