Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choice 中导入后会自动产生 termina_layout.log 日志,实际上没有用到日志 #12

Closed
mocobk opened this issue Mar 2, 2021 · 1 comment

Comments

@mocobk
Copy link

mocobk commented Mar 2, 2021

from terminal_layout import *
from terminal_layout.helper.class_helper import instance_variables
# 日志没有用到,但导入模块时会自动创建日志文件到当前目录,若无日志,希望去除日志文件
from terminal_layout.logger import logger


class StringStyle(object):

    def __init__(self, fore=None, back=None, style=None):
        self.fore = fore or ''
        self.back = back or ''
        self.style = style or ''

    def to_dict(self):
        return {
            'fore': self.fore,
            'back': self.back,
            'style': self.style
        }
@gojuukaze
Copy link
Owner

已解决,升级2.0.4版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants