Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
VDestination: Add extension to default destination.
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-d authored and kemitche committed Feb 25, 2014
1 parent 2542e69 commit 4031911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/lib/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ def __init__(self, param = 'dest', default = "", **kw):

def run(self, dest):
if not dest:
dest = self.default or "/"
dest = self.default or add_sr("/")

ld = dest.lower()
if ld.startswith(('/', 'http://', 'https://')):
Expand Down

0 comments on commit 4031911

Please sign in to comment.