__author__ = "<NAME>"
__copyright__ = "Copyright 2020, <NAME>"
__version__ = "0.1.5"


def conditional_decorator(dec, condition):
    def decorator(func):
        if not condition:
            return func
        return dec(func)

    return decorator

__author__ = "<NAME>"
__copyright__ = "Copyright 2020, <NAME>"
__version__ = "0.1.5"


def conditional_decorator(dec, condition):
    def decorator(func):
        if not condition:
            return func
        return dec(func)

    return decorator
