Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6010/src

Modified Files:
        directory.py 
Log Message:
clean path for dirname

Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -d -r1.156 -r1.157
*** directory.py        15 Apr 2005 23:44:39 -0000      1.156
--- directory.py        17 Apr 2005 14:57:58 -0000      1.157
***************
*** 119,122 ****
--- 119,127 ----
              self.info = mediadb.get(directory)
  
+         # create full path
+         directory = os.path.normpath(directory)
+         # remove softlinks from path
+         directory = os.path.realpath(directory) + '/'
+ 
          # get cover from cache
          image = self.info['cover']



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to