--- src/fxditem.py.old  2004-05-11 18:48:09.000000000 +0200
+++ src/fxditem.py      2004-05-11 18:47:52.000000000 +0200
@@ -161,6 +161,11 @@
         items = []
         for fxd_file in fxd_files:
             try:
+                # don't know if it's the right place to do that.
+                # at least it prevents freevo from listing 2 times
+                # the same item
+                if fxd_file.startswith(config.OVERLAY_DIR):
+                    fxd_file=fxd_file[len(config.OVERLAY_DIR):]
                 # create a basic fxd parser
                 parser = util.fxdparser.FXD(fxd_file)
 

I'm pretty sure it's not the best way to do it, but at least I found
something !
It may be better to use normalize. You'll fix it the way you want now
you know where it's going wrong... :)

it was my first time ! (reading python code)

-- 


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to