Commit 77b5828c authored by Jack Jansen's avatar Jack Jansen

Always set type to APPL

parent b2f6a7ec
......@@ -99,12 +99,11 @@ def process(template, filename):
dest.close()
tmpl.close()
# Copy the creator and type of the template to the destination
# unless it already has one
# Copy the creator of the template to the destination
# unless it already has one. Set type to APPL
tctor, ttype = MacOS.GetCreatorAndType(template)
ctor, type = MacOS.GetCreatorAndType(destname)
if type in undefs: type = ttype
if type in undefs: type = 'APPL'
if ctor in undefs: ctor = tctor
MacOS.SetCreatorAndType(destname, ctor, type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment