Merge pull request #527 from developer-wlj/wlj0909
This commit is contained in:
commit
ccc249f29d
@ -122,7 +122,14 @@ class DirMonitor(_PluginBase):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# 存储目的目录
|
# 存储目的目录
|
||||||
paths = mon_path.split(":")
|
if SystemUtils.is_windows():
|
||||||
|
if mon_path.count(":") > 1:
|
||||||
|
paths = [mon_path.split(":")[0] + ":" + mon_path.split(":")[1],
|
||||||
|
mon_path.split(":")[2] + ":" + mon_path.split(":")[3]]
|
||||||
|
else:
|
||||||
|
paths = [mon_path]
|
||||||
|
else:
|
||||||
|
paths = mon_path.split(":")
|
||||||
target_path = None
|
target_path = None
|
||||||
if len(paths) > 1:
|
if len(paths) > 1:
|
||||||
mon_path = paths[0]
|
mon_path = paths[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user