diff --git a/pypiserver/__main__.py b/pypiserver/__main__.py index 61897f8..b20f4b7 100644 --- a/pypiserver/__main__.py +++ b/pypiserver/__main__.py @@ -14,7 +14,7 @@ log = logging.getLogger('pypiserver.main') def init_logging(level=None, frmt=None, filename=None): - logging.basicConfig(level=level, format=format) + logging.basicConfig(level=level, format=frmt) rlog = logging.getLogger() rlog.setLevel(level) if filename: