Commit 0971176
authored
fix: SG-42241: Address comment in PR 1200 (#1236)
### Summarize your change.
Address comments on
#1200 (reference)
Small readability cleanups. Drop redundant `int()` around `math.floor`,
rename f to session_file, and replace a for/write loop with writelines.
### Describe the reason for the change.
These are changes that make the code more readable and follow a better
design. No functionality change.
### Describe what you have tested and on which operating system.
Tested on MacOS to see that previews are still working and being
generated.
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>1 parent 98a33ee commit 0971176
1 file changed
Lines changed: 7 additions & 7 deletions
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
| 260 | + | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
| 347 | + | |
| 348 | + | |
350 | 349 | | |
351 | 350 | | |
352 | 351 | | |
| |||
381 | 380 | | |
382 | 381 | | |
383 | 382 | | |
384 | | - | |
| 383 | + | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
0 commit comments