Skip to content

Commit

Permalink
Update utauplugin.py
Browse files Browse the repository at this point in the history
changed class name 'PluginScript' to 'UtauPlugin'
  • Loading branch information
oatsu-gh committed Aug 7, 2020
1 parent 8f1a3cb commit d1bf6fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utaupy/utauplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def load(path, mode='r', encoding='shift-jis'):
"""
ust = _ust.load(path, mode=mode, encoding=encoding)
notes = ust.values
# PluginScriptオブジェクト化
plugin = PluginScript()
# UtauPluginオブジェクト化
plugin = UtauPlugin()
plugin.version = notes.pop(0)
plugin.setting = notes.pop(0)
if notes[0].tag == '[#PREV]':
Expand All @@ -57,7 +57,7 @@ def load(path, mode='r', encoding='shift-jis'):
plugin.notes = notes
return plugin

class PluginScript(_ust.Ust):
class UtauPlugin(_ust.Ust):
"""
UTAUプラグインの一時ファイル用のクラス
UST用のクラスを継承
Expand Down

0 comments on commit d1bf6fd

Please sign in to comment.