Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7458376

Browse files
fixed byte variable names
1 parent 8665759 commit 7458376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

srtm/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ def get_elevation_from_row_and_column(self, row, column):
378378
assert i < len(self.data) - 1
379379

380380
#logging.debug('{0}, {1} -> {2}'.format(row, column, i))
381-
byte1 = self.data[i * 2]
382-
byte2 = self.data[i * 2 + 1]
381+
byte_1 = self.data[i * 2]
382+
byte_2 = self.data[i * 2 + 1]
383383

384384
result = byte_1 * 256 + byte_2
385385

0 commit comments

Comments
 (0)