Changeset 921bcd3431cf0fb52c273471d38b572775e17f28
- Timestamp:
- 12/30/07 23:34:37
(1 year ago)
- Author:
- Jason Michalski <armooo@armooo.net>
- git-committer:
- Jason Michalski <armooo@armooo.net> 1199079277 -0600
- git-parent:
[ce3929651052e7b4bcc1f294478d33da96dc9abe]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1199041245 -0500
- Message:
Use the same rounding for width as for height in platform sections -- covers ticket #57.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r00f2d94 |
r921bcd3 |
|
| 126 | 126 | try: |
|---|
| 127 | 127 | height = int(config.get('_tivo_' + tsn, 'height')) |
|---|
| 128 | | return nearest(height, getValidHeights()) |
|---|
| | 128 | return nearestTivoHeight(height) |
|---|
| 129 | 129 | except NoOptionError: |
|---|
| 130 | 130 | pass |
|---|
| … | … | |
| 139 | 139 | if tsn and config.has_section('_tivo_' + tsn): |
|---|
| 140 | 140 | try: |
|---|
| 141 | | return config.get('_tivo_' + tsn, 'width') |
|---|
| | 141 | width = int(config.get('_tivo_' + tsn, 'width')) |
|---|
| | 142 | return nearestTivoWidth(width) |
|---|
| 142 | 143 | except NoOptionError: |
|---|
| 143 | 144 | pass |
|---|
| … | … | |
| 184 | 185 | except NoOptionError: #default 1024k |
|---|
| 185 | 186 | return '1024k' |
|---|
| 186 | | |
|---|