diff options
Diffstat (limited to 'lib/python/qmk/cli/generate/rgb_breathe_table.py')
| -rw-r--r-- | lib/python/qmk/cli/generate/rgb_breathe_table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/rgb_breathe_table.py b/lib/python/qmk/cli/generate/rgb_breathe_table.py index e1c5423ee..7382abd68 100644 --- a/lib/python/qmk/cli/generate/rgb_breathe_table.py +++ b/lib/python/qmk/cli/generate/rgb_breathe_table.py | |||
| @@ -70,7 +70,7 @@ static const int table_scale = 256 / sizeof(rgblight_effect_breathe_table); | |||
| 70 | if cli.args.output: | 70 | if cli.args.output: |
| 71 | cli.args.output.parent.mkdir(parents=True, exist_ok=True) | 71 | cli.args.output.parent.mkdir(parents=True, exist_ok=True) |
| 72 | if cli.args.output.exists(): | 72 | if cli.args.output.exists(): |
| 73 | cli.args.output.replace(cli.args.output.name + '.bak') | 73 | cli.args.output.replace(cli.args.output.parent / (cli.args.output.name + '.bak')) |
| 74 | cli.args.output.write_text(table_template) | 74 | cli.args.output.write_text(table_template) |
| 75 | 75 | ||
| 76 | if not cli.args.quiet: | 76 | if not cli.args.quiet: |
