From 6fc1be04daf005cb2b659b6d06df26b5d97eed2c Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 6 Jun 2021 21:10:53 +0200 Subject: [PATCH] support windows-py3.5 --- copyparty/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/__main__.py b/copyparty/__main__.py index a5b3f5d2..70c8b481 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -377,6 +377,9 @@ def main(argv=None): + " (if you crash with codec errors then that is why)" ) + if WINDOWS and sys.version_info < (3, 6): + al.no_scandir = True + # signal.signal(signal.SIGINT, sighandler) SvcHub(al).run()