Added label and label_normalized to template system, closes #130

This commit is contained in:
Rhet Turnbull
2020-05-15 13:57:12 -07:00
parent d125854f2a
commit b455bd4c4a
4 changed files with 17 additions and 16 deletions

View File

@@ -92,7 +92,7 @@ def test_lookup():
""" Test that a lookup is returned for every possible value """
import re
import osxphotos
from osxphotos.template import TEMPLATE_SUBSTITUTIONS
from osxphotos.photoinfo.template import TEMPLATE_SUBSTITUTIONS
photosdb = osxphotos.PhotosDB(dbfile=PHOTOS_DB_PLACES)
photo = photosdb.photos(uuid=[UUID_DICT["place_dc"]])[0]