Skip to content

Commit

Permalink
Removing r. and making it a simple kup.in/url
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishnu Gopal committed Jul 6, 2008
1 parent 0920d77 commit 55c086a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kup.py
Expand Up @@ -82,7 +82,7 @@ def post(self):
#if already existing, return that record.
b = u.check_already_existing(next_url)
if(b):
self.response.out.write('http://r.kup.in/' + b.pattern)
self.response.out.write('http://kup.in/' + b.pattern)
return

last_url = u.find_last_url()
Expand All @@ -101,7 +101,7 @@ def post(self):
u.pattern = next_url_pattern
u.put()

self.response.out.write('http://r.kup.in/' + next_url_pattern)
self.response.out.write('http://kup.in/' + next_url_pattern)

def main():
application = webapp.WSGIApplication(
Expand Down

0 comments on commit 55c086a

Please sign in to comment.