[mousetrap/gnome3-wip: 123/240] Fix bug in config.py



commit 3467741f46ff52de1accc964fc0c0b7bd663f776
Author: Stoney Jackson <dr stoney gmail com>
Date:   Mon Jun 23 14:28:29 2014 -0400

    Fix bug in config.py

 src/mousetrap/config.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mousetrap/config.py b/src/mousetrap/config.py
index 550bd28..549b8d5 100644
--- a/src/mousetrap/config.py
+++ b/src/mousetrap/config.py
@@ -38,4 +38,4 @@ class Config(dict):
 
     def for_plugin(self, plugin_object):
         class_ = plugin_object.__class__
-        return self[class_.__module__ + '.' class_.__name__]
+        return self[class_.__module__ + '.' + class_.__name__]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]