mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Codestyle: Start comments with space
Forgot this one. Contributes to issue CURA-844.
This commit is contained in:
parent
7ad2fbc95d
commit
fdf37c2ab0
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class Profile:
|
|||
# Check correctness.
|
||||
if not parser.has_section("general"):
|
||||
raise SettingsError.InvalidFormatError("general")
|
||||
if not parser.has_option("general", "version") or int(parser.get("general", "version")) != 1: #Hard-coded profile version here. If this number changes the entire function needs to change.
|
||||
if not parser.has_option("general", "version") or int(parser.get("general", "version")) != 1: # Hard-coded profile version here. If this number changes the entire function needs to change.
|
||||
raise SettingsError.InvalidVersionError("Version upgrade intermediary version 1")
|
||||
|
||||
# Parse the general section.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue