Updated README, added PhotoInfo.hasadjustments()

This commit is contained in:
Rhet Turnbull
2019-07-26 22:21:17 -04:00
parent ec01bf9706
commit 9efa83c5cd
3 changed files with 225 additions and 20 deletions

View File

@@ -621,6 +621,9 @@ class PhotoInfo:
def ismissing(self):
return True if self.__info["isMissing"] == 1 else False
def hasadjustments(self):
return True if self.__info["hasAdjustments"] == 1 else False
# compare two PhotoInfo objects for equality
def __eq__(self, other):
if isinstance(other, self.__class__):