예제 #1
0
파일: terminal.py 프로젝트: hoeck/schirm
 def create_url(self, id=None):
     """Return a non-guessable localhost subdomain url for this terminal."""
     return "http://%s.localhost" % (id or utils.roll_id())
예제 #2
0
파일: termscreen.py 프로젝트: hoeck/schirm
 def _next_iframe_id(self):
     # unique random id to hide the terminals url
     return utils.roll_id()
예제 #3
0
파일: termscreen.py 프로젝트: hoeck/schirm
 def _next_iframe_id(self):
     # unique random id to hide the terminals url
     return utils.roll_id()