2020-08-07 17:17:42 +02:00
|
|
|
try:
|
|
|
|
|
from tiramisu3 import DynOptionDescription
|
2020-12-26 17:06:56 +01:00
|
|
|
except ModuleNotFoundError:
|
2020-08-08 11:03:06 +02:00
|
|
|
from tiramisu import DynOptionDescription
|
2020-07-20 18:13:53 +02:00
|
|
|
from .utils import normalize_family
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ConvertDynOptionDescription(DynOptionDescription):
|
|
|
|
|
def convert_suffix_to_path(self, suffix):
|
|
|
|
|
if not isinstance(suffix, str):
|
|
|
|
|
suffix = str(suffix)
|
2020-12-23 11:28:43 +01:00
|
|
|
return normalize_family(suffix)
|