MartijnBraam / gpsd-py3

Python 3 GPSD client
107 stars 45 forks source link

Fix bug with time() method name. #5

Closed stuckyb closed 7 years ago

stuckyb commented 7 years ago

Attempting to call the time() method on a GpsResponse object fails because GpsResponse objects also have a string member named "time". Thus, I changed the name of time() to get_time().

stuckyb commented 7 years ago

I know realize that my pull request and proposed solution is exactly the same as that proposed by @HcDevel in 2016, so I'll close this pull request.