This commit is contained in:
Philip Sargent
2022-07-22 12:40:42 +03:00
parent 38eb65ac0e
commit 31b912f3ca
4 changed files with 8 additions and 7 deletions

View File

@@ -69,6 +69,7 @@ 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)
'''
res = [ ]
if type(sdir) is str and sdir[:7] == "http://":