diff --git a/toxygen/plugins/plugin_super_class.py b/toxygen/plugins/plugin_super_class.py index f0cf1b4..b75510b 100644 --- a/toxygen/plugins/plugin_super_class.py +++ b/toxygen/plugins/plugin_super_class.py @@ -31,7 +31,7 @@ def log(name, data): class PluginSuperClass: """ - Superclass for all plugins. Plugin is python module with at least one class derived from PluginSuperClass. + Superclass for all plugins. Plugin is Python3 module with at least one class derived from PluginSuperClass. """ is_plugin = True @@ -169,7 +169,7 @@ class PluginSuperClass: def load_settings(self): """ This method loads settings of plugin and returns raw data - If file doesn't this method raises exception + If file doesn't exist this method raises exception """ with open(path_to_data(self._short_name) + 'settings.json', 'rb') as fl: data = fl.read() diff --git a/toxygen/toxencryptsave.py b/toxygen/toxencryptsave.py index e420ecf..350394c 100644 --- a/toxygen/toxencryptsave.py +++ b/toxygen/toxencryptsave.py @@ -33,6 +33,8 @@ TOX_ERR_DECRYPTION = { TOX_PASS_ENCRYPTION_EXTRA_LENGTH = 80 +# TODO: move logic to separate class + class ToxEncryptSave(util.Singleton):