Browse Source

Set default timeout

pull/2633/merge
Ruud 11 years ago
parent
commit
c23b014cff
  1. 4
      couchpotato/core/_base/_core/main.py

4
couchpotato/core/_base/_core/main.py

@ -55,6 +55,10 @@ class Core(Plugin):
if not Env.get('desktop'):
self.signalHandler()
# Set default urlopen timeout
import socket
socket.setdefaulttimeout(30)
def md5Password(self, value):
return md5(value) if value else ''

Loading…
Cancel
Save