From c6fc83122d988650ada11f45b833002ccaaa5dd5 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 2 Sep 2015 15:20:01 +0200 Subject: declare CompositeModes to be unique --- voctocore/lib/videomix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'voctocore') diff --git a/voctocore/lib/videomix.py b/voctocore/lib/videomix.py index e0beefb..71909d9 100644 --- a/voctocore/lib/videomix.py +++ b/voctocore/lib/videomix.py @@ -1,10 +1,11 @@ #!/usr/bin/python3 import logging from gi.repository import Gst -from enum import Enum +from enum import Enum, unique from lib.config import Config +@unique class CompositeModes(Enum): fullscreen = 0 side_by_side_equal = 1 -- cgit v1.2.3