mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
support ftps-only; closes #30
This commit is contained in:
parent
025a537413
commit
510302d667
|
@ -502,9 +502,9 @@ class Ftpd(object):
|
|||
|
||||
for h_lp in hs:
|
||||
h2, lp = h_lp
|
||||
h2.hub = hub
|
||||
h2.args = hub.args
|
||||
h2.authorizer = FtpAuth(hub)
|
||||
FtpHandler.hub = h2.hub = hub
|
||||
FtpHandler.args = h2.args = hub.args
|
||||
FtpHandler.authorizer = h2.authorizer = FtpAuth(hub)
|
||||
|
||||
if self.args.ftp_pr:
|
||||
p1, p2 = [int(x) for x in self.args.ftp_pr.split("-")]
|
||||
|
|
Loading…
Reference in a new issue