timonwong / OmniMarkupPreviewer

Sublime Text 2&3 plugin to live preview markup files, supported (not limited to) markup formats are markdown, reStructuredText, WikiCreole and textile.
MIT License
500 stars 74 forks source link

Not working(list has no .copy()) #48

Closed pjw91 closed 10 years ago

pjw91 commented 10 years ago

Recently, my ST2 updates OmniMarkupPreviewer from 2.0.5 to 2.0.7. Then this plugin doesn't work.

When starting ST2, there's a error massage: cls.OLD_IGNORED_RENDERERS = setting.ignored_renderers.copy() in ./OmniMarkupLib/RendererManager.py:442

after tracing the code, it seems to be caused by the changing of loading settings. The old type of setting.ignored_renderers is set, but now list

And set has .copy() whereas list has not.

Changing that line into cls.OLD_IGNORED_RENDERERS = setting.ignored_renderers[:] works.

timonwong commented 10 years ago

Fixed in v2.0.8