mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 18:33:13 +08:00
Codestyle: Start comments with space
Forgot this one. Contributes to issue CURA-844.
This commit is contained in:
parent
7ad2fbc95d
commit
fdf37c2ab0
@ -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…
x
Reference in New Issue
Block a user