diff --git a/rank_photos.py b/rank_photos.py index fb4d8dd..03fe145 100755 --- a/rank_photos.py +++ b/rank_photos.py @@ -116,7 +116,7 @@ class Photo: MN = max([M,N]) step = int(MN / 800) - if step == 0: m_step = 1 + if step == 0: step = 1 data = data[ 0:M:step, 0:N:step, :]