def init(args=None): try: sid = args['SID'] except: sid = "" return sid #def init