Removed stray logging statement, fixed version check
This commit is contained in:
@@ -43,7 +43,7 @@ class PhotosDB:
|
|||||||
system = platform.system()
|
system = platform.system()
|
||||||
(_, major, _) = _get_os_version()
|
(_, major, _) = _get_os_version()
|
||||||
# logger.debug(system, major)
|
# logger.debug(system, major)
|
||||||
if (system != "Darwin") or (major != "12"):
|
if (system != "Darwin") or (major != "13"):
|
||||||
print(
|
print(
|
||||||
"WARNING: This module has only been tested with MacOS 10.13: "
|
"WARNING: This module has only been tested with MacOS 10.13: "
|
||||||
+ f"{system}, OS version: {major}", file=sys.stderr
|
+ f"{system}, OS version: {major}", file=sys.stderr
|
||||||
@@ -66,7 +66,7 @@ class PhotosDB:
|
|||||||
# Dict with information about all the volumes/photos by uuid
|
# Dict with information about all the volumes/photos by uuid
|
||||||
self._dbvolumes = {}
|
self._dbvolumes = {}
|
||||||
|
|
||||||
print(dbfile)
|
# logger.debug(dbfile)
|
||||||
if dbfile is None:
|
if dbfile is None:
|
||||||
library_path = self.get_photos_library_path()
|
library_path = self.get_photos_library_path()
|
||||||
# logger.debug("library_path: " + library_path)
|
# logger.debug("library_path: " + library_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user