Skip to content

Commit

Permalink
fix a bug about log_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Sraw committed Jun 12, 2017
1 parent e533ee8 commit 494da6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion http_api_exporter/log_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_logger(class_name, debug=False):
"""
logger = logging.getLogger(class_name)

if not logging.getLogger().isEnabledFor(logging.CRITICAL) or not logger.handlers:
if not logging.getLogger().isEnabledFor(logging.CRITICAL) or logger.handlers:
return logger

formatter = logging.Formatter(
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name = 'http_api_exporter',
packages = ['http_api_exporter'],
version = '1.1.1',
version = '1.1.2',
license = 'MIT',
description = 'A simple api exporter for py',
author = 'Sraw',
author_email = 'lzyl888@gmail.com',
url = 'https://github.com/Sraw/http_api_exporter',
download_url = 'https://github.com/Sraw/http_api_exporter/tarball/v1.1.1',
download_url = 'https://github.com/Sraw/http_api_exporter/tarball/v1.1.2',
keywords = "http web api export",
classifiers = [
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit 494da6e

Please sign in to comment.