Added colorama.init() to plateup.py to handle new coloured changed messages.

This commit is contained in:
Chris Palmer 2021-02-10 10:22:38 +00:00
parent ca153c971d
commit da825b17ab
1 changed files with 2 additions and 0 deletions

View File

@ -28,11 +28,13 @@ from set_config import *
from deps import * from deps import *
import shutil import shutil
import re import re
from colorama import init
source_dirs = { "stl" : "platters", "dxf" : "panels" } source_dirs = { "stl" : "platters", "dxf" : "panels" }
target_dirs = { "stl" : "printed", "dxf" : "routed" } target_dirs = { "stl" : "printed", "dxf" : "routed" }
def plateup(target, part_type, usage = None): def plateup(target, part_type, usage = None):
init()
# #
# Make the target directory # Make the target directory
# #