Ignore:
Timestamp:
Sep 17, 2016, 2:31:39 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
c2d076b
Parents:
659900b
Message:

python/lib/gen_code.py: fix regression from previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_code.py

    r659900b rb71e8b6  
    290290        return """
    291291    self->{name} = {defval};
     292    if ({name} != NULL) {{
     293        self->{name} = {name};
     294    }}
    292295""".format(defval = aubiodefvalue[name], name = name)
    293296
Note: See TracChangeset for help on using the changeset viewer.