Skip to content

Commit

Permalink
from pathlib2 import Path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lostanlen committed Nov 28, 2018
1 parent e516533 commit 77e08c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions birdvoxdetect/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import sys
import traceback

if sys.version_info.major == 3:
try:
from pathlib import Path
elif sys.version_info.major == 2:
except ImportError:
from pathlib2 import Path

from birdvoxdetect.birdvoxdetect_exceptions import BirdVoxDetectError
Expand Down

0 comments on commit 77e08c8

Please sign in to comment.