OSDN Git Service
(root)
/
libre10
/
libre10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c4969
)
fix part dicision
author
gn64_jp
<gn64@rec10.org>
Wed, 31 Jul 2013 13:23:38 +0000
(22:23 +0900)
committer
gn64_jp
<gn64@rec10.org>
Wed, 31 Jul 2013 13:23:38 +0000
(22:23 +0900)
index/pdf2xml.py
patch
|
blob
|
history
diff --git
a/index/pdf2xml.py
b/index/pdf2xml.py
index
3176491
..
5e82dc2
100644
(file)
--- a/
index/pdf2xml.py
+++ b/
index/pdf2xml.py
@@
-105,7
+105,7
@@
def PDF2TEXT(pdfpath,dstpath,idnum):
try:
parttext=int(parttext.split(".pdf")[0])
except:
- parttext=int(re.split(r
'¥D'
,parttext.split(".pdf")[0])[0])
+ parttext=int(re.split(r
"\D"
,parttext.split(".pdf")[0])[0])
else:
parttext=int(parttext)
else: