Skip to content

Commit 6903cfc

Browse files
committed
chore: Fix example in readme
1 parent ccfe51c commit 6903cfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Scry does not load the entire image into memory, and as such can be used with la
1111
```swift
1212
import Scry
1313

14-
if let metadata = try Scry.metadata(fromFileAt: "/path/to/photo.jpg") {
14+
if let metadata = try? Scry.metadata(fromFileAt: "/path/to/photo.jpg") {
1515
print(metadata["Make"]) // "Apple"
1616
print(metadata["Model"]) // "iPhone 14 Pro"
1717
print(metadata["FNumber"]) // 1.78

0 commit comments

Comments
 (0)