F #1918: hotfix, undefined xmlrpc_timeout option (#1935)

(cherry picked from commit 162845dc42)
This commit is contained in:
Sergio Semedi Barranco authored and Tino Vazquez committed 2018-04-19 16:56:42 +02:00
1 parent 9d4e58246b
commit b78639c1fd
1 file changed
+3 -1
+3 -1
View File
@@ -109,7 +109,9 @@ rescue Exception => e
exit 1
end
ENV['ONE_XMLRPC_TIMEOUT'] = $conf[:one_xmlrpc_timeout].to_s unless ENV['ONE_XMLRPC_TIMEOUT']
if $conf[:one_xmlrpc_timeout]
ENV['ONE_XMLRPC_TIMEOUT'] = $conf[:one_xmlrpc_timeout].to_s unless ENV['ONE_XMLRPC_TIMEOUT']
end
$conf[:debug_level] ||= 3