aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/comment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbe/comment.py b/libbe/comment.py
index 7b43c08..53519bf 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -557,6 +557,9 @@ class Comment(Tree, settings_object.SavedSettingsObject):
if self.sync_with_disk == False:
raise DiskAccessRequired("load settings")
self.settings = mapfile.map_load(self.rcs, self.get_path("values"))
+ # hack to deal with old BE comments:
+ if "From" in self.settings:
+ self.settings["Author"] = self.settings.pop("From")
self._setup_saved_settings()
def save_settings(self):