mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Changed the condition for the perception of the network path
This commit is contained in:
parent
020e5f3128
commit
baba56465c
@ -91,7 +91,7 @@ class UNCPath:
|
||||
self.type = None
|
||||
if self.path.startswith(r'smb://'):
|
||||
self.type = 'uri'
|
||||
if self.path.startswith(r'\\'):
|
||||
if self.path.startswith(r'\\') or self.path.startswith(r'//'):
|
||||
self.type = 'unc'
|
||||
if not self.type:
|
||||
raise NotUNCPathError(path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user