Skip to content

Commit e582eee

Browse files
committed
Fixed use of deprecated API
1 parent 600c7cd commit e582eee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpype_gcode/gwrite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import vpype_cli
1212

1313
# Load the default config
14-
vp.CONFIG_MANAGER.load_config_file(str(Path(__file__).parent / "bundled_configs.toml"))
14+
vp.config_manager.load_config_file(str(Path(__file__).parent / "bundled_configs.toml"))
1515

1616

1717
def invert_axis(document: vp.Document, invert_x: bool, invert_y: bool):
@@ -63,7 +63,7 @@ def gwrite(
6363
The output format can be customized by the user heavily to an extent that you can also
6464
output most known non-gcode ascii text files.
6565
"""
66-
gwrite_config = vp.CONFIG_MANAGER.config["gwrite"]
66+
gwrite_config = vp.config_manager.config["gwrite"]
6767

6868
# If no profile was provided, try to use a default
6969
if not profile:

0 commit comments

Comments
 (0)