mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
added default socket timeout. fixes #237
This commit is contained in:
parent
a20302d4bc
commit
555124b6b1
7 changed files with 13 additions and 0 deletions
|
@ -7,11 +7,13 @@ import datetime
|
|||
import time
|
||||
import json
|
||||
import logging
|
||||
import socket
|
||||
|
||||
from nzbToMediaEnv import *
|
||||
from nzbToMediaUtil import *
|
||||
|
||||
Logger = logging.getLogger()
|
||||
socket.setdefaulttimeout(int(TimeOut)) #initialize socket timeout.
|
||||
|
||||
def process(dirName, nzbName=None, status=0, inputCategory=None):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue