summaryrefslogtreecommitdiff
path: root/ricky/pbgrid/params.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-12-08 12:46:23 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-12-08 12:46:23 -0800
commit0b994e3b71c2c0b463d100edd07745af565c7a59 (patch)
tree2a7c7b5834859684400e770a22eecb62fc41592b /ricky/pbgrid/params.py
parent17fff32864cf33bbec2b531a6123618acf74f3f7 (diff)
changed structure, added utils
Diffstat (limited to 'ricky/pbgrid/params.py')
-rw-r--r--ricky/pbgrid/params.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ricky/pbgrid/params.py b/ricky/pbgrid/params.py
index 850e180..abf0b3b 100644
--- a/ricky/pbgrid/params.py
+++ b/ricky/pbgrid/params.py
@@ -5,6 +5,7 @@ from ricky.param.enum import Enum
from ricky.param.constrainednumber import ConstrainedNumber
from ricky.param.color import Color
from ricky.param.bool import Bool
+from ricky.config import PBGRID_URL
_TRANSITION_OPTIONS = [
"background",
@@ -23,7 +24,7 @@ _FILETYPE_OPTIONS = [
class Params(_Params):
def __init__(self):
- self._params = (
+ super(Params, self).__init__(
Username(name="username", required=False),
PbageUrl(name="bgimage", required=False),
PbageUrl(name="imageinstead", required=False),
@@ -101,6 +102,7 @@ class Params(_Params):
prec=1
)
)
+ self._url = PBGRID_URL
def _test_values(self):
return not any([