Updated json output
This commit is contained in:
@@ -106,19 +106,19 @@ def dump(cli_obj):
|
|||||||
dump = []
|
dump = []
|
||||||
for p in photos:
|
for p in photos:
|
||||||
dump.append(
|
dump.append(
|
||||||
[
|
{
|
||||||
p.uuid(),
|
"uuid": p.uuid(),
|
||||||
p.filename(),
|
"filename": p.filename(),
|
||||||
str(p.date()),
|
"date": str(p.date()),
|
||||||
p.description(),
|
"description": p.description(),
|
||||||
p.name(),
|
"name": p.name(),
|
||||||
p.keywords(),
|
"keywords": p.keywords(),
|
||||||
p.albums(),
|
"albums": p.albums(),
|
||||||
p.persons(),
|
"persons": p.persons(),
|
||||||
p.path(),
|
"path": p.path(),
|
||||||
p.ismissing(),
|
"ismissing": p.ismissing(),
|
||||||
p.hasadjustments(),
|
"hasadjustments": p.hasadjustments(),
|
||||||
]
|
}
|
||||||
)
|
)
|
||||||
print(json.dumps(dump))
|
print(json.dumps(dump))
|
||||||
else:
|
else:
|
||||||
@@ -135,8 +135,8 @@ def dump(cli_obj):
|
|||||||
"albums",
|
"albums",
|
||||||
"persons",
|
"persons",
|
||||||
"path",
|
"path",
|
||||||
"is_missing",
|
"ismissing",
|
||||||
"has_adjustments",
|
"hasadjustments",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
for p in photos:
|
for p in photos:
|
||||||
|
|||||||
Reference in New Issue
Block a user