mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
misc fixes
This commit is contained in:
parent
bd24bf9bae
commit
d3fe19c5aa
|
@ -3149,7 +3149,7 @@ class HttpCli(object):
|
||||||
"url_suf": url_suf,
|
"url_suf": url_suf,
|
||||||
"logues": logues,
|
"logues": logues,
|
||||||
"readme": readme,
|
"readme": readme,
|
||||||
"title": html_escape(self.vpath, crlf=True),
|
"title": html_escape(self.vpath, crlf=True) or "⇆🎉",
|
||||||
"srv_info": srv_infot,
|
"srv_info": srv_infot,
|
||||||
"dtheme": self.args.theme,
|
"dtheme": self.args.theme,
|
||||||
"themes": self.args.themes,
|
"themes": self.args.themes,
|
||||||
|
|
|
@ -415,7 +415,9 @@ class HLog(logging.Handler):
|
||||||
else:
|
else:
|
||||||
c = 1
|
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)
|
m = self.ptn_ftp.match(msg)
|
||||||
if m:
|
if m:
|
||||||
ip = m.group(1)
|
ip = m.group(1)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -130,7 +130,7 @@ args = {
|
||||||
"ftps": ["pyftpdlib", "pyopenssl"],
|
"ftps": ["pyftpdlib", "pyopenssl"],
|
||||||
},
|
},
|
||||||
"entry_points": {"console_scripts": ["copyparty = copyparty.__main__:main"]},
|
"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},
|
"cmdclass": {"clean2": clean2},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue