Skip to content

Commit

Permalink
Code Refactor for Speed and Readability (#27)
Browse files Browse the repository at this point in the history
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
  • Loading branch information
3 people authored Jun 9, 2024
1 parent eae1776 commit 841ba50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flickr_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_urls(search="honeybees on flowers", n=10, download=False):

urls.append(url)
print("%g/%g %s" % (i, n, url))
except:
except Exception:
print("%g/%g error..." % (i, n))

else:
Expand Down

0 comments on commit 841ba50

Please sign in to comment.