Skip to content

Commit

Permalink
Bug fix #5
Browse files Browse the repository at this point in the history
Vibrato class can't init with blank string. Now it can.
  • Loading branch information
UtaUtaUtau committed May 24, 2020
1 parent bd0e17f commit e3b5f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyutau.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Vibrato:
def __init__(self, VBR = ''):
tmp = [float(x) for x in VBR.split(',')]
if len(tmp) < 7:
tmp.extend([65, 180, 35, 20, 20, 0, 0])
tmp = [65, 180, 35, 20, 20, 0, 0]
self.length = tmp[0]
self.cycle = tmp[1]
self.depth = tmp[2]
Expand Down

0 comments on commit e3b5f7c

Please sign in to comment.