jrupac / tasky

A command-line desktop client for Google Tasks.
GNU General Public License v3.0
116 stars 33 forks source link

end-of-line mark in credentials #13

Closed jelkink closed 9 years ago

jelkink commented 10 years ago

For me, authentication did not work until I changed the code around lines 470-472, adding rstrip()

            self.clientid = self.f.readline().rstrip()
            self.clientsecret = self.f.readline().rstrip()
            self.apikey = self.f.readline().rstrip()

The URL to the Google authentication included %0A ...

Also, should requirements.txt include gflags?

jrupac commented 9 years ago

You're right on both accounts. The gflags requirement is newer than the last revision of the requirements.txt file, which is why it was missing from there.