Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-brajer committed Dec 21, 2020
1 parent 9e2f1b6 commit e01f484
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/cardassembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__all__ = []
__all__ = ['Toolbox']
# Needs :class:`blueprint`. See below.
__version__ = None
__author__ = None
Expand Down Expand Up @@ -124,7 +124,7 @@ def __init__(self, data_folder, xml_file):
'select': self._layer_select,
'mask': self._layer_mask,
'hide': self._layer_hide,
}
}

def create_image(self, card_ID):
"""Blueprint to image.
Expand Down Expand Up @@ -449,11 +449,11 @@ def create_palette(self, palette_ID, name):
(gimpfu.PF_STRING, 'xmlFile', 'XML file:', 'Blueprint.xml'),
(gimpfu.PF_TEXT, 'paletteID', 'Palette ID:', 'color'),
(gimpfu.PF_TEXT, 'name', 'Name:', 'Card Assembler Palette'),
],
],
results=[],
function=palette_creator,
menu='<Image>/Card Assembler'
)
)

gimpfu.register(
proc_name='CA_card_assembler', # Used in Procedure browser.
Expand All @@ -470,10 +470,10 @@ def create_palette(self, palette_ID, name):
(gimpfu.PF_STRING, 'xmlFile', 'XML file:', 'Blueprint.xml'),
(gimpfu.PF_TEXT, 'cardIDs', 'Card IDs:', ''),
(gimpfu.PF_BOOL, 'save', 'Save:', False),
],
],
results=[],
function=card_creator,
menu='<Image>/Card Assembler'
)
)

gimpfu.main()

0 comments on commit e01f484

Please sign in to comment.