| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -824,7 +824,7 @@ def test_get(self): | |||
| 824 | 824 | ||
| 825 | 825 | # chmod() doesn't work as expected on Windows, and filesystem | |
| 826 | 826 | # permissions are ignored by root on Unix. | |
| 827 | - if os.name == 'posix' and os.geteuid() != 0: | ||
| 827 | + if os.name == 'posix' and os.geteuid() != 0 and sys.platform != 'cygwin': | ||
| 828 | 828 | os.chmod(self.tempdir, 0) | |
| 829 | 829 | try: | |
| 830 | 830 | response = self.request(self.base_url + '/') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments