Scheduler

NZBmatrix, newznab
Scores
This commit is contained in:
Ruud committed 2011-04-17 23:36:23 +02:00
1 parent 9524306739
commit 7837adec1d
38 files changed
+856 -219

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
from __future__ import with_statement
from couchpotato.api import addApiView
from couchpotato.core.event import addEvent
from couchpotato.core.helpers.encoding import is_int
from couchpotato.core.helpers.encoding import isInt
from couchpotato.core.helpers.request import getParams, jsonified
import ConfigParser
import os.path
@@ -61,7 +61,7 @@ class Settings():
return default
def cleanValue(self, value):
if(is_int(value)):
if(isInt(value)):
return int(value)
if str(value).lower() in self.bool: