changeset 71:6412c45dff58

minorCVS: ----------------------------------------------------------------------
author dwinter
date Tue, 04 Nov 2008 21:19:59 +0100
parents 0049d64aa464
children 1493ff41d380
files documentViewer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Tue Nov 04 20:51:35 2008 +0100
+++ b/documentViewer.py	Tue Nov 04 21:19:59 2008 +0100
@@ -545,7 +545,7 @@
         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))