mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Fix VDestination bug that prevents setting custom "default" value.
This commit is contained in:
@@ -1774,8 +1774,7 @@ class VDateRange(VDate):
|
||||
|
||||
class VDestination(Validator):
|
||||
def __init__(self, param = 'dest', default = "", **kw):
|
||||
self.default = default
|
||||
Validator.__init__(self, param, **kw)
|
||||
Validator.__init__(self, param, default, **kw)
|
||||
|
||||
def run(self, dest):
|
||||
if not dest:
|
||||
|
||||
Reference in New Issue
Block a user