--- documentViewer/documentViewer.py 2008/11/04 19:51:35 1.33 +++ documentViewer/documentViewer.py 2008/11/04 20:19:59 1.34 @@ -545,7 +545,7 @@ class documentViewer(Folder): elif mode=="imagepath": docinfo = self.getDocinfoFromImagePath(url, docinfo=docinfo) elif mode=="filepath": - docinfo = self.getDocinfoFromImagePath(url, docinfo=docinfo,cut=1) + docinfo = self.getDocinfoFromImagePath(url, docinfo=docinfo,cut=2) else: logger("documentViewer (getdocinfo)", logging.ERROR,"unknown mode!") raise ValueError("Unknown mode %s"%(mode))