updated cameras

This commit is contained in:
2020-02-05 20:49:05 +01:00
parent 304f0d3eda
commit 18ab2e60cc

View File

@@ -38,7 +38,7 @@ def recurse(dir, md, camera=None):
# defaults
use_ts = True
use_camera = True
author = "ab"
author = "th"
mtime = fp.stat().st_mtime
rawdt = dt.datetime.fromtimestamp(mtime)
if fp.suffix.lower() == ".jpg":
@@ -112,7 +112,7 @@ def rename(old, new):
for daydir in Path(SRC).iterdir():
if not daydir.is_dir():
continue
if daydir.name != "Sony a5100":
if daydir.name != "iPhone":
continue
print(f"[{daydir.name}] -------------------------------------------------")
mo = re.match("(?P<dt>\S*)\s?(?P<title>.*)", daydir.name)