Skip to content

Commit

Permalink
qs -- ws
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Mar 12, 2018
1 parent 3f99f1c commit 50cef57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isbntools/_initapp.py
Expand Up @@ -53,13 +53,15 @@ def setconfpath(confpath):

# read/set conf file
conf = configparser.ConfigParser()

# read DEFAULTS (in memory)
try: # pragma: no cover
conf.read_string(DEFAULTS) # PY3
except: # pragma: no cover
import io
# pylint: disable=deprecated-method
conf.readfp(io.BytesIO(DEFAULTS)) # PY2

# read user options
if VIRTUAL: # pragma: no cover
conf.files = conf.read([
Expand Down

0 comments on commit 50cef57

Please sign in to comment.