diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-09-23 00:49:40 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-09-23 00:49:40 +0300 |
commit | 97b0ce8c96f4d7b42d9f90beec7f824ae49c3089 (patch) | |
tree | d9c3205c4db5f25a5bd135b947f4ae1a4f213f2d /core/utils.py | |
parent | aa20692ad6d1dea43d63674335c4e4dba7ae07ec (diff) | |
download | troggle-97b0ce8c96f4d7b42d9f90beec7f824ae49c3089.tar.gz troggle-97b0ce8c96f4d7b42d9f90beec7f824ae49c3089.tar.bz2 troggle-97b0ce8c96f4d7b42d9f90beec7f824ae49c3089.zip |
removing technical debt, replace convoluted code
Diffstat (limited to 'core/utils.py')
-rw-r--r-- | core/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/utils.py b/core/utils.py index 521892c..1081e17 100644 --- a/core/utils.py +++ b/core/utils.py @@ -74,6 +74,8 @@ def chaosmonkey(n): def GetListDir(sdir): '''handles url or file, so we can refer to a set of scans (not drawings) on another server returns a list of f (file), ff (file full path), is_dir (bool) + + REPLACE all use of this with Path.rglob() ! ''' res = [ ] if type(sdir) is str and sdir[:7] == "http://": |