fix bug and wish it wont boom again~
This commit is contained in:
parent
a12ff4d1ca
commit
a43b871e9e
|
@ -131,8 +131,9 @@ class DataSpeech():
|
||||||
else:
|
else:
|
||||||
n = n_start // bili * (bili - 1)
|
n = n_start // bili * (bili - 1)
|
||||||
yushu = n_start % bili
|
yushu = n_start % bili
|
||||||
filename = self.dic_wavlist_stcmds[self.list_wavnum_stcmds[n + yushu - 1]]
|
length=len(self.list_wavnum_stcmds)
|
||||||
list_symbol=self.dic_symbollist_stcmds[self.list_symbolnum_stcmds[n + yushu - 1]]
|
filename = self.dic_wavlist_stcmds[self.list_wavnum_stcmds[(n + yushu - 1)%length]]
|
||||||
|
list_symbol=self.dic_symbollist_stcmds[self.list_symbolnum_stcmds[(n + yushu - 1)%length]]
|
||||||
|
|
||||||
if('Windows' == plat.system()):
|
if('Windows' == plat.system()):
|
||||||
filename = filename.replace('/','\\') # windows系统下需要执行这一行,对文件路径做特别处理
|
filename = filename.replace('/','\\') # windows系统下需要执行这一行,对文件路径做特别处理
|
||||||
|
|
Loading…
Reference in New Issue