Exporting a profile now exports all profiles in a zipped container

CURA-2099
This commit is contained in:
Jaime van Kessel 2016-08-26 12:55:31 +02:00
parent e7f2acfeab
commit ced6cd7320
5 changed files with 42 additions and 22 deletions

View file

@ -18,8 +18,8 @@ class ProfileWriter(PluginObject):
# The profile writer may write its own file format to the specified file.
#
# \param path \type{string} The file to output to.
# \param profile \type{Profile} The profile to write to the file.
# \param profiles \type{Profile} or \type{List} The profile(s) to write to the file.
# \return \code True \endcode if the writing was successful, or \code
# False \endcode if it wasn't.
def write(self, path, node):
def write(self, path, profiles):
raise NotImplementedError("Profile writer plugin was not correctly implemented. No write was specified.")