def convert_opt(key, val):
 if (key == 'env'):
  val = env_to_str(val)
 elif (val is None):
  val = ''
 else:
  val = str(val)
 return val

def convert_opt ( key , val ) : if ( key == 'env' ) : val = env_to_str ( val ) elif ( val is None ) : val = '' else : val = str ( val ) return val
get opt .