Commit 588a9465 authored by Jérome Perrin's avatar Jérome Perrin

DMS: do not fail when trying to convert to base format an empty document

parent f9fa2a34
......@@ -57,7 +57,7 @@ from xmlrpclib import Fault\n
from socket import error as SocketError\n
\n
message = None\n
if context.getExternalProcessingState()!=\'converted\':\n
if context.getExternalProcessingState() not in (\'converted\', \'empty\'):\n
# try to convert to base format only if not already done\n
try:\n
return context.convertToBaseFormat()\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment