From 470585bf8ca6cbda966bb1b91df5dcb50e46880f Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Fri, 26 Jul 2019 23:06:53 -0400 Subject: [PATCH] Removed stray logging statement, fixed version check --- osxphotos/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osxphotos/__init__.py b/osxphotos/__init__.py index 0aa0aa80..cf123a1d 100644 --- a/osxphotos/__init__.py +++ b/osxphotos/__init__.py @@ -43,7 +43,7 @@ class PhotosDB: system = platform.system() (_, major, _) = _get_os_version() # logger.debug(system, major) - if (system != "Darwin") or (major != "12"): + if (system != "Darwin") or (major != "13"): print( "WARNING: This module has only been tested with MacOS 10.13: " + f"{system}, OS version: {major}", file=sys.stderr @@ -66,7 +66,7 @@ class PhotosDB: # Dict with information about all the volumes/photos by uuid self._dbvolumes = {} - print(dbfile) + # logger.debug(dbfile) if dbfile is None: library_path = self.get_photos_library_path() # logger.debug("library_path: " + library_path)