chiark / gitweb /
Fix the bug where the M140 for bed temperature is not added in the start code.
[cura.git] / Cura / cura.py
index a475705b28b610cfd2eedf6f5b8a74c0a6fc1f42..2172a4bfa5959fbbc2891f85f3f927dfff3a6310 100644 (file)
@@ -11,8 +11,6 @@ __copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AG
 
 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():
@@ -32,7 +30,7 @@ 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: