jim-easterbrook / Photini

An easy to use digital photograph metadata (Exif, IPTC, XMP) editing application.
https://photini.readthedocs.io/
GNU General Public License v3.0
157 stars 24 forks source link

Proxy error #10

Closed laconic75 closed 10 years ago

laconic75 commented 10 years ago

I was getting an error when Photini tried to set my network proxy. ValueError: invalid literal for int() with base 10: '3128/' It was picking up the trailing slash at the end. I did some research and found urlparse. It seems to be just what's needed here.

This is my first pull request, so be gentle if there are any problems.

jim-easterbrook commented 10 years ago

Thanks for that. I've not used a proxy for some time so wouldn't have found it myself.