byroot / pysrt

Python parser for SubRip (srt) files
GNU General Public License v3.0
449 stars 67 forks source link

a bug fix about arguments setting #14

Closed chenhsiu closed 12 years ago

chenhsiu commented 12 years ago

Hi, I encountered a bug when converting frame rate with "-i rate 25 24". The original code: rate_parser.add_argument(underline('initial'), action='store', type=float, help=self.FRAME_RATE_HELP) Pass argument name to underline() will cause the parser not recognize the name.

byroot commented 12 years ago

OMG, how could I have missed that -_-

Thanks.