From 7fabf7a264bd7852339ac6def4bf4e217e6c287f Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 30 Nov 2006 20:55:31 +0000 Subject: [PATCH] typo-bugfix --- debian/changelog | 10 ++++++++-- src/cryptobox/web/dataset.py | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f9c1d29..1ffe402 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ -cryptobox (0.3.0-1) unstable; urgency=low +cryptobox (0.2.99-2) unstable; urgency=low + + * fixed a typo + + -- Lars Kruse Thu, 30 Nov 2006 21:51:24 +0100 + +cryptobox (0.2.99-1) unstable; urgency=low * Initial release - -- Lars Kruse Wed, 10 May 2006 20:26:47 +0100 + -- Lars Kruse Wed, 30 November 2006 20:26:47 +0100 diff --git a/src/cryptobox/web/dataset.py b/src/cryptobox/web/dataset.py index 8152606..7ba2865 100644 --- a/src/cryptobox/web/dataset.py +++ b/src/cryptobox/web/dataset.py @@ -148,7 +148,10 @@ class WebInterfaceDataset(dict): self["Settings.DocDir"] = os.path.abspath(self.prefs["Locations"]["DocDir"]) self["Settings.Stylesheet"] = self.prefs["WebSettings"]["Stylesheet"] self["Settings.Language"] = self.prefs["WebSettings"]["Languages"][0] - self["Settings.PluginDir"] = self.prefs["Locations"]["PluginDir"] + for num,d in enumerate(self.prefs["Locations"]["PluginDir"]): + self["Settings.PluginDir.%d" % num] = d + ## store the first directory in this settings variable - backward compatibility + self["Settings.PluginDir"] = self.prefs["Locations"]["PluginDir"][0] self["Settings.SettingsDir"] = self.prefs["Locations"]["SettingsDir"]