Commit 9142ab9
Fix logic for detection of Windows OS (#42)
Should be `if os.name == 'nt'`, and *not* `if sys.platform == 'nt'`.
Helpful explanation at https://stackoverflow.com/a/11674977/20789.
Signed-off-by: Daniel Lenski <dlenski@gmail.com>1 parent c694dc5 commit 9142ab9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments