diff options
Diffstat (limited to 'chimere/utils.py')
-rw-r--r-- | chimere/utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index c4e882b..c7126f9 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2012-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as @@ -76,6 +76,9 @@ class ImportManager(object): import_key = unicode(import_key).replace(':', '^') if not values.get('name'): values['name'] = self.default_name + if not self.importer_instance.get_description and \ + self.importer_instance.default_description: + values['description'] = self.importer_instance.default_description if not key: key = self.importer_instance.importer_type if import_key or pk: |