mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
py2 fixes
This commit is contained in:
parent
d1a03c6d17
commit
9362ca3ed9
|
@ -275,7 +275,7 @@ def disable_quickedit() -> None:
|
|||
raise ctypes.WinError(err) # type: ignore
|
||||
return args
|
||||
|
||||
k32 = ctypes.WinDLL("kernel32", use_last_error=True) # type: ignore
|
||||
k32 = ctypes.WinDLL(str("kernel32"), use_last_error=True) # type: ignore
|
||||
if PY2:
|
||||
wintypes.LPDWORD = ctypes.POINTER(wintypes.DWORD)
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ tmpdir="$(
|
|||
[ $repack ] && {
|
||||
old="$tmpdir/pe-copyparty"
|
||||
echo "repack of files in $old"
|
||||
cp -pR "$old/"*{j2,ftp,copyparty} .
|
||||
cp -pR "$old/"*{py2,j2,ftp,copyparty} .
|
||||
}
|
||||
|
||||
[ $repack ] || {
|
||||
|
|
Loading…
Reference in a new issue