mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 04:53:10 +10:00
add SMB/CIFS server
This commit is contained in:
@@ -22,6 +22,7 @@ copyparty/mtag.py,
|
||||
copyparty/res,
|
||||
copyparty/res/COPYING.txt,
|
||||
copyparty/res/insecure.pem,
|
||||
copyparty/smbd.py,
|
||||
copyparty/star.py,
|
||||
copyparty/stolen,
|
||||
copyparty/stolen/__init__.py,
|
||||
|
||||
@@ -58,7 +58,7 @@ def uh1(fp):
|
||||
lns = []
|
||||
for ln in cs.split("\n"):
|
||||
m = ptn.match(ln)
|
||||
if m:
|
||||
if m and "SimpleNamespace" not in ln:
|
||||
ln = m.group(1) + "raise Exception()"
|
||||
|
||||
lns.append(ln)
|
||||
|
||||
Reference in New Issue
Block a user