forked from expo/troggle
removing technical debt, replace convoluted code
This commit is contained in:
@@ -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://":
|
||||
|
||||
Reference in New Issue
Block a user