tshrinivasan / OCR4wikisource

OCR for WikiSource using Google Drive OCR
GNU General Public License v2.0
33 stars 24 forks source link

Syntax error when the file name has a ( #76

Open commonssibi opened 8 years ago

commonssibi commented 8 years ago

There is a syntax error when the file has a _( _in it . Please refer to the attachment .

error

ravidreams commented 8 years ago

Already reported at https://github.com/tshrinivasan/OCR4wikisource/issues/49

commonssibi commented 8 years ago

Though I have not found out "what" triggers this error , I think I have zeroed in on what happens because of this . Once all the upload is done , we get the following

Done. Uploaded all text files to wiki source

Post that , the code tries to clean up all the files . If there is a file with "(" , then the .pdf file which has the original entire pdf alone is alone retained .