def subs_filename(subs_id, lang='en'):
 if (lang == 'en'):
  return u'subs_{0}.srt.sjson'.format(subs_id)
 else:
  return u'{0}_subs_{1}.srt.sjson'.format(lang, subs_id)

def subs_filename ( subs_id , lang = 'en' ) : if ( lang == 'en' ) : return u'subs_{0}.srt.sjson' . format ( subs_id ) else : return u'{0}_subs_{1}.srt.sjson' . format ( lang , subs_id )
generate proper filename for storage .