Improve asterisk handling

This commit is contained in:
relikd
2020-09-21 16:18:12 +02:00
parent 7edf470684
commit 2349b2ca8d
9 changed files with 37 additions and 39 deletions

View File

@@ -41,11 +41,8 @@ def rebuild_domain_index(bundle_ids, deleteOnly=False):
def del_id(bundle_ids):
print('removing apps from website:')
if bundle_ids == ['*']:
bundle_ids = list(mylib.enum_appids())
update_app_index = False
for bid in bundle_ids:
for bid in mylib.appids_in_out(bundle_ids):
dest = mylib.path_out_app(bid)
if mylib.dir_exists(dest):
print(' ' + bid)