Skip to content

Commit

Permalink
Makes quickstart more REPL friendly [(#2354)](GoogleCloudPlatform/pyt…
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and andrewferlitsch committed Aug 20, 2019
1 parent 0e645b6 commit 56ea938
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions samples/snippets/quickstart/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ def run_quickstart():
# [END vision_python_migration_client]

# The name of the image file to annotate
file_name = os.path.join(
os.path.dirname(__file__),
'resources/wakeupcat.jpg')
file_name = os.path.abspath('resources/wakeupcat.jpg')

# Loads the image into memory
with io.open(file_name, 'rb') as image_file:
Expand Down

0 comments on commit 56ea938

Please sign in to comment.