mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 16:42:13 -06:00
misc fixes
This commit is contained in:
parent
bd24bf9bae
commit
d3fe19c5aa
|
@ -3149,7 +3149,7 @@ class HttpCli(object):
|
|||
"url_suf": url_suf,
|
||||
"logues": logues,
|
||||
"readme": readme,
|
||||
"title": html_escape(self.vpath, crlf=True),
|
||||
"title": html_escape(self.vpath, crlf=True) or "⇆🎉",
|
||||
"srv_info": srv_infot,
|
||||
"dtheme": self.args.theme,
|
||||
"themes": self.args.themes,
|
||||
|
|
|
@ -415,7 +415,9 @@ class HLog(logging.Handler):
|
|||
else:
|
||||
c = 1
|
||||
|
||||
if record.name == "pyftpdlib":
|
||||
if record.name.startswith("PIL") and lv < logging.WARNING:
|
||||
return
|
||||
elif record.name == "pyftpdlib":
|
||||
m = self.ptn_ftp.match(msg)
|
||||
if m:
|
||||
ip = m.group(1)
|
||||
|
|
2
setup.py
2
setup.py
|
@ -130,7 +130,7 @@ args = {
|
|||
"ftps": ["pyftpdlib", "pyopenssl"],
|
||||
},
|
||||
"entry_points": {"console_scripts": ["copyparty = copyparty.__main__:main"]},
|
||||
"scripts": ["bin/copyparty-fuse.py", "bin/up2k.py"],
|
||||
"scripts": ["bin/partyfuse.py", "bin/up2k.py"],
|
||||
"cmdclass": {"clean2": clean2},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue