Skip to content

Commit

Permalink
use default temp location
Browse files Browse the repository at this point in the history
  • Loading branch information
afrubin committed Jul 22, 2020
1 parent cc87948 commit ce1324d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions mavedbconvert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
]

HOMEDIR = os.path.normpath(os.path.expanduser("~/.mavedb_convert/"))
tempfile.tempdir = HOMEDIR
if not os.path.isdir(HOMEDIR):
os.mkdir(HOMEDIR)
os.mkdir(HOMEDIR) # pragma: no cover

LOGGER = "mavedbconvert"

Expand Down Expand Up @@ -58,13 +57,3 @@
},
}
)


def disable_logging():
logging.disable(logging.INFO)
logging.disable(logging.WARN)
logging.disable(logging.WARNING)
logging.disable(logging.ERROR)
logging.disable(logging.CRITICAL)
logging.disable(logging.DEBUG)
logging.disable(logging.FATAL)

0 comments on commit ce1324d

Please sign in to comment.