mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 15:12:28 -06:00
Add back-in unused imports
These imports, although unused, are wrapped in a try/catch block for import check purposes. Will fix in a diff commit.
This commit is contained in:
parent
433798a09d
commit
506a448a19
|
@ -1648,7 +1648,8 @@ source file/folder selection uses rsync syntax, meaning that:
|
||||||
|
|
||||||
if "https://" in ar.url.lower():
|
if "https://" in ar.url.lower():
|
||||||
try:
|
try:
|
||||||
pass
|
import ssl
|
||||||
|
import zipfile
|
||||||
except:
|
except:
|
||||||
t = "ERROR: https is not available for some reason; please use http"
|
t = "ERROR: https is not available for some reason; please use http"
|
||||||
print("\n\n %s\n\n" % (t,))
|
print("\n\n %s\n\n" % (t,))
|
||||||
|
|
Loading…
Reference in a new issue