mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-10 18:39:41 +00:00
fix(cgen): folders ending in /
This commit is contained in:
@@ -123,6 +123,8 @@ def generate_cyan(parser: argparse.ArgumentParser) -> None:
|
||||
if os.path.isfile(f):
|
||||
zf.write(f, f"inject/{os.path.basename(f)}")
|
||||
else: # G YHUJMNFTGYHNFTGYHTGYHUT6Y7UJM8RFTYHNR564TY
|
||||
if f.endswith("/"):
|
||||
f = f[:-1] # yes this is needed to prevent a bug wtf
|
||||
for dp, _, files in os.walk(f):
|
||||
for f2 in files:
|
||||
thing = f"{dp}/{f2}"
|
||||
|
||||
Reference in New Issue
Block a user