mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 13:57:45 +00:00
Allow for PosixPaths to work with GetListDir
This commit is contained in:
@@ -66,7 +66,7 @@ def chaosmonkey(n):
|
|||||||
# handles url or file, so we can refer to a set of scans (not drawings) on another server
|
# handles url or file, so we can refer to a set of scans (not drawings) on another server
|
||||||
def GetListDir(sdir):
|
def GetListDir(sdir):
|
||||||
res = [ ]
|
res = [ ]
|
||||||
if sdir[:7] == "http://":
|
if type(sdir) is str and sdir[:7] == "http://":
|
||||||
# s = urllib.request.urlopen(sdir)
|
# s = urllib.request.urlopen(sdir)
|
||||||
message = f"! Requesting loading from http:// NOT IMPLEMENTED. [{sdir}]"
|
message = f"! Requesting loading from http:// NOT IMPLEMENTED. [{sdir}]"
|
||||||
print(message)
|
print(message)
|
||||||
|
|||||||
Reference in New Issue
Block a user