Sat May 12 04:48:43 2007
Ticket #196
error in getting HG export path
| Priority: | high | Reporter: | Giovanni Biscuolo <g@xelera.it> |
|---|---|---|---|
| Severity: | major | Assigned to: | manatlan |
| Component: | jbrout | Status: | new |
| Version: | Resolution: | ||
| Milestone: | milestone1 | Keywords: | filesystem, export |
Description by Giovanni Biscuolo <g@xelera.it>:
When trying to export using "Export as HTML Gallery" always returns the error
"The selected path doesn't exists "
even if the path is valid.
The error is in getting FS.folder as path and not HG.folder.
Please find at the end of this message a little patch.
Thank you: this is a very useful tool!
Ciao. Giovanni Biscuolo.
=== modified file 'plugins/multiexport/__init__.py'
--- plugins/multiexport/__init__.py 2007-05-12 09:13:08 +0000
+++ plugins/multiexport/__init__.py 2007-05-12 09:32:44 +0000
@@ -194,7 +194,7 @@
elif type == "HG":
msg = _("Export as a Html Gallery")
#==================================================================
- path = ec["FS.folder"]
+ path = ec["HG.folder"]
if os.path.isdir(path):
destg = unicode( path + "/Html " + time.strftime("%Y-%m-%d, %H-%M-%S") )
@@ -213,7 +213,7 @@
nodeAlbum = Element("export")
else:
- self.MessageBox(_("The selected path doesn't exists !"))
+ self.MessageBox(_("The selected path doesn't exists: " + path ))
return False
elif type == "PW":
