Skip to content

Commit b042ea7

Browse files
committed
Fix boolean condition
1 parent f1f9a69 commit b042ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/commands/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def reset(ctx: click.Context) -> None:
111111
)
112112
exercise_name = gitmastery_exercise_config["exercise_name"]
113113

114-
if gitmastery_config.get("progress_setup", False):
114+
if not gitmastery_config.get("progress_setup", False):
115115
error(
116116
f"You have not setup progress tracking Git-Mastery yet. Do so with {click.style('gitmastery progress setup', bold=True, italic=True)}"
117117
)

0 commit comments

Comments
 (0)