kaihu / lekha

A PDF viewer
GNU General Public License v3.0
7 stars 2 forks source link

Fixes for Python 3: replace `time.clock()` with `time.time()` #4

Open mara004 opened 2 years ago

mara004 commented 2 years ago

Hello,

Thanks for this nice little PDF reader written with Python-EFL! I just tried Lekha with current EFL and Python 3. Loading PDFs failed because it seems like the time.clock() function doesn't exist anymore in Python 3 - replacing all occurrences with time.time() fixed it for me. I can make a PR if you like.

Kind regards

kaihu commented 2 years ago

Thanks! I will merge your PR once you submit it.