Move VariantType to VariantType.py

Less circular dependencies for imports.
This commit is contained in:
Lipu Fei 2018-08-02 16:09:31 +02:00
parent 847fc33796
commit a303f394c8
7 changed files with 24 additions and 15 deletions

View file

@ -0,0 +1,15 @@
# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from enum import Enum
class VariantType(Enum):
BUILD_PLATE = "buildplate"
NOZZLE = "nozzle"
ALL_VARIANT_TYPES = (VariantType.BUILD_PLATE, VariantType.NOZZLE)
__all__ = ["VariantType", "ALL_VARIANT_TYPES"]