Skip to content

Commit e31400c

Browse files
author
Raanan Nevet
committed
Strip plugin names from config
Typo in docs
1 parent 9da81a5 commit e31400c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ AccountStats Plugin
307307
~~~~~~~~~~~~~~~~~~~
308308

309309
The AccountStats plugin fetches all your loan history and provides statistics based on it.
310-
Current implementation sends a earnings summery Notification (see Notifications sections) every 24hr.
310+
Current implementation sends a earnings summary Notification (see Notifications sections) every 24hr.
311311

312312
To enable the plugin add ``AccountStats`` to the ``plugins`` config options, example::
313313

modules/Configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,5 @@ def get_notification_config():
163163
def get_plugins_config():
164164
active_plugins = []
165165
if config.has_option("BOT", "plugins"):
166-
active_plugins = config.get("BOT", "plugins").split(',')
166+
active_plugins = map(str.strip, config.get("BOT", "plugins").split(','))
167167
return active_plugins

0 commit comments

Comments
 (0)