mekkablue/Glyphs-Scripts — pull request #16 by OliverMatelowski (2014-08-09 12:51:44+00:00)
Title: Update Delete all non-Master layers.py

now
also deletes empty layers befor delete other, but there is a new error-message i dont understand:

Traceback (most recent call last):
File "", line 38, in
File "", line 21, in process
File "/Folder/Glyphs/x_InstallDaten/Glyphs.app/Contents/Scripts/GlyphsApp.py", line 555, in __getitem__
ExtraLayer = self._owner.pyobjc_instanceMethods.layers().objectAtIndex_(Index)
IndexError: NSRangeException - *** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]