from optparse import OptionParser
-from Cura.util import resources
-resources.setupLocalization() # it's important to set up localization at very beginning to install _
from Cura.util import profile
def main():
profile.loadPreferences(profile.getPreferencePath())
if options.profile is not None:
- profile.loadProfileFromString(options.profile)
+ profile.setProfileFromString(options.profile)
elif options.profileini is not None:
profile.loadProfile(options.profileini)
else: