Oops, fix missing return statement.

This commit is contained in:
voussoir 2018-03-10 15:42:23 -08:00
parent 42cef093a5
commit f5a126d3bc

View file

@ -1230,7 +1230,7 @@ class PhotoDB(
def _normalize_new_photo_ratelimit(new_photo_ratelimit):
if isinstance(new_photo_ratelimit, (int, float)):
new_photo_ratelimit = ratelimiter.Ratelimiter(allowance=1, period=new_photo_ratelimit)
new_photo_ratelimit
return new_photo_ratelimit
def create_or_fetch_photos(files):
photos = []