UrDHT / PyUrDHT

Python reference implementation
11 stars 3 forks source link

check addr when reading in from the .json files #64

Closed abrosen closed 8 years ago

abrosen commented 9 years ago

We had some errors when we forgot the / at the end of the addr field in the .json files. We should add a check for that.

We also need our addresses to have http:// in it. We should do similar

abrosen commented 8 years ago

so now if you decide to fill the publicAddr field with your IP, but mess the format up such as:

I fix that it's a stupid 5 liner