| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f2ce56f commit d01f072
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,10 +30,7 @@ | |||
| 30 | 30 | is_win = (os.name == 'nt') | |
| 31 | 31 | is_posix = (os.name == 'posix') | |
| 32 | 32 | is_darwin = (os.name == 'darwin') | |
| 33 | - if hasattr(sys, 'getfilesystemencoding'): | ||
| 34 | - defenc = sys.getfilesystemencoding() | ||
| 35 | - if defenc is None: | ||
| 36 | - defenc = sys.getdefaultencoding() | ||
| 33 | + defenc = sys.getfilesystemencoding() | ||
| 37 | 34 | ||
| 38 | 35 | if PY3: | |
| 39 | 36 | import io | |
| Back | FazBrowse Home | New Git URL |
0 commit comments