Skip to content

Commit cf962f1

Browse files
committed
fix linting issue
1 parent ab9dacd commit cf962f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/wechaty/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ def cache_dir(self) -> str:
100100
str: the path of cache dir
101101
"""
102102
return os.environ.get("CACHE_DIR", '.wechaty')
103-
103+
104104
@property
105105
def ui_dir(self) -> str:
106106
"""get the ui directory
107107
108108
Returns:
109-
str: the path of the ui dir
109+
str: the path of the ui dir
110110
"""
111111
default_ui_dir = os.path.join(
112112
os.path.dirname(__file__),

src/wechaty/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def add_plugin(self, plugin: Union[str, WechatyPlugin]) -> None:
591591
log.warning('plugin : %s has exist', plugin.name)
592592
return
593593
plugin_instance = plugin
594-
594+
595595
# set the scheduler
596596
plugin.scheduler = self.scheduler
597597
self._plugins[plugin_instance.name] = plugin_instance

0 commit comments

Comments
 (0)