Skip to content

Commit

Permalink
Fix logging file access in shell (needed pkg_resources)
Browse files Browse the repository at this point in the history
  • Loading branch information
julia326 committed Oct 11, 2016
1 parent 12f2fec commit e275b4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyensembl/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@
import argparse
import logging
import logging.config
import pkg_resources

from .ensembl_release import EnsemblRelease
from .genome import Genome


logging.config.fileConfig('pyensembl/logging.conf')
logging.config.fileConfig(pkg_resources.resource_filename(__name__, "logging.conf"))
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit e275b4b

Please sign in to comment.