mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-07 09:43:46 +00:00
Better clean command in setup.py
This commit is contained in:
@@ -737,7 +737,7 @@ def generate_tlobjects(tlobjects, layer, import_depth, output_dir):
|
||||
|
||||
|
||||
def clean_tlobjects(output_dir):
|
||||
for d in ('functions', 'types'):
|
||||
for d in ('functions', 'types', 'patched'):
|
||||
d = output_dir / d
|
||||
if d.is_dir():
|
||||
shutil.rmtree(str(d))
|
||||
|
||||
Reference in New Issue
Block a user