summaryrefslogtreecommitdiffstats
path: root/pinolo/plugins/markov.py
diff options
context:
space:
mode:
Diffstat (limited to 'pinolo/plugins/markov.py')
-rw-r--r--pinolo/plugins/markov.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pinolo/plugins/markov.py b/pinolo/plugins/markov.py
index 07871b2..7bf3dd9 100644
--- a/pinolo/plugins/markov.py
+++ b/pinolo/plugins/markov.py
@@ -165,9 +165,7 @@ class MarkovBrain(object):
class MarkovPlugin(Plugin):
def activate(self):
- self.db_file = os.path.join(self.config.get("@root.datadir"),
- "markov.pickle")
- self.markov = MarkovBrain(self.db_file)
+ self.markov = MarkovBrain(self.config["db_file"])
self._counter = 0
self.markov.load()