Removed debugging for walk

Application profiles now seam properly integrated by setup.py, remote profiles have not yet been tested.
This commit is contained in:
Anton Hvornum 2020-12-06 12:50:51 +01:00
parent 7764804d4c
commit 393758ec24
1 changed files with 0 additions and 3 deletions

View File

@ -23,9 +23,6 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''):
cache = {}
# Grab all local profiles found in PROFILE_PATH
for PATH_ITEM in storage['PROFILE_PATH']:
import time
print('Walking:', os.path.abspath(os.path.expanduser(PATH_ITEM+subpath)))
time.sleep(3)
for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))):
for file in files:
if os.path.splitext(file)[1] == '.py':