Commit 9fb1f6a
committed
Fix compatibility with python3 in putFile method
in python3 os.read returns byte object not a string which caused
writing loop to be endless
by adding b'' comparison we hold compatibility both with python2
and python31 parent 48acbc8 commit 9fb1f6a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
0 commit comments