Ignore:
Timestamp:
May 10, 2016, 7:53:17 PM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
337aaae
Parents:
29693d0
Message:

python/lib/gen_code.py: fix format string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_code.py

    r29693d0 rbbc62b5  
    375375        for input_param in input_params:
    376376            out += """
    377     PyObject *py_{0};""".format(input_param['name'], input_param['type'])
     377    PyObject *py_{0};""".format(input_param['name'])
    378378        refs = ", ".join(["&py_%s" % p['name'] for p in input_params])
    379379        pyparamtypes = "".join([pyargparse_chars[p['type']] for p in input_params])
Note: See TracChangeset for help on using the changeset viewer.