Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
autra committed Jul 1, 2020
1 parent 2d94ace commit 150a371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3dtiles/points/task/las_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def init(files, color_scale=None, srs_in=None, srs_out=None, fraction=100):
if 'red' in f.point_format.lookup:
color_test_field = 'red'
if np.max(f.get_points()['point'][color_test_field][0:min(10000, f.header.count)]) > 255:
color_scale = 1.0 / 255
color_scale = 1.0 / 255
else:
color_test_field = 'intensity'
color_scale = 1.0 / 255
Expand Down

0 comments on commit 150a371

Please sign in to comment.