sharat87 / ti

A simple command line time tracker.
http://ti.sharats.me
122 stars 68 forks source link

removes explicit decoding of arguments #33

Open fengor opened 6 years ago

fengor commented 6 years ago

the elements of argv are already str objects which are already considered decoded by python 3.5.2. This commit adds a try-except block for the AttributeError that is raised. This should keep the decoding intact for python2 while silently dropping the error in python3

fixes #32