From c5d2b6e03be55f7c0cdd5b8a425c1eeb0ad8386d Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 29 May 2019 22:45:22 +0100 Subject: [PATCH] Language bitmask enum Going to be used in future for server configuration --- houdini/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/houdini/__init__.py b/houdini/__init__.py index 1c0abd3..33f2900 100644 --- a/houdini/__init__.py +++ b/houdini/__init__.py @@ -11,6 +11,13 @@ class ConflictResolution(enum.Enum): Exception = 2 +class Language(enum.Enum): + En = 1 + Pt = 2 + Fr = 4 + Es = 8 + De = 32 + Ru = 64 class PenguinStringCompiler(OrderedDict): def __init__(self, *args, **kwargs):