general: add __template_version__ to avoid deprecating templates on each pywal release

This commit is contained in:
deviantfero 2018-02-04 03:47:02 -06:00
parent ac2cee6751
commit b6a5c81d2c
3 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Created by Dylan Araps.
"""
from .settings import __version__
from .settings import __version__, __template_version__
from . import colors
from . import export
from . import image
@ -19,6 +19,7 @@ from . import wallpaper
__all__ = [
"__version__",
"__template_version__"
"colors",
"export",
"image",

View File

@ -15,6 +15,7 @@ import shutil
import sys
from .settings import __version__, CACHE_DIR
from .settings import __template_version__
from . import colors
from . import export
from . import image

View File

@ -14,6 +14,7 @@ import platform
__version__ = "1.3.0"
__template_version__ = "1.0.0"
HOME = os.getenv("HOME", os.getenv("USERPROFILE"))