From fcddc1516b7ca42ba367c07af18a3ff0d477cbce Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 3 Nov 2020 18:19:43 +0900 Subject: [PATCH] Increment version --- pytchat/__init__.py | 2 +- pytchat/config/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pytchat/__init__.py b/pytchat/__init__.py index 788ae45..ebd5725 100644 --- a/pytchat/__init__.py +++ b/pytchat/__init__.py @@ -2,7 +2,7 @@ pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup. """ __copyright__ = 'Copyright (C) 2019 taizan-hokuto' -__version__ = '0.4.0.dev1' +__version__ = '0.4.0' __license__ = 'MIT' __author__ = 'taizan-hokuto' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com' diff --git a/pytchat/config/__init__.py b/pytchat/config/__init__.py index 215ebdf..e362819 100644 --- a/pytchat/config/__init__.py +++ b/pytchat/config/__init__.py @@ -1,10 +1,10 @@ -import logging +import logging # noqa from . import mylogger headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36', } -def logger(module_name: str, loglevel=logging.DEBUG): +def logger(module_name: str, loglevel=None): module_logger = mylogger.get_logger(module_name, loglevel=loglevel) return module_logger