Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
Don't catch ModuleNotFoundError ad readthedocs uses python3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Apr 17, 2018
1 parent c1818bb commit 6c73bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylas/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
import lazperf

HAS_LAZPERF = True
except ModuleNotFoundError:
# we should capture ModuleNotRoundError but its python3.6 exception type
# and ReadTheDocs does uses 3.5
except:
HAS_LAZPERF = False


Expand Down

0 comments on commit 6c73bba

Please sign in to comment.