chiark / gitweb /
Fix the bug where the M140 for bed temperature is not added in the start code.
[cura.git] / Cura / cura.py
index 542970227be462c8a8db2ec957a65d6a920b4694..2172a4bfa5959fbbc2891f85f3f927dfff3a6310 100644 (file)
@@ -24,13 +24,13 @@ def main():
        parser.add_option("-s", "--slice", action="store_true", dest="slice",
                help="Slice the given files instead of opening them in Cura")
        parser.add_option("-o", "--output", action="store", type="string", dest="output",
-               help="Directory or file to write sliced files to")
+               help="path to write sliced file to")
 
        (options, args) = parser.parse_args()
 
        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: