mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
@@ -20,7 +20,7 @@ class TestRequestHandler(RangeRequestHandler):
|
||||
import posixpath
|
||||
|
||||
# NOTE: `directory` was introduced in 3.7
|
||||
if sys.version_info < (3, 7):
|
||||
if sys.version_info >= (3, 7):
|
||||
return super().translate_path(path)
|
||||
|
||||
path = path.split("?", 1)[0]
|
||||
|
||||
Reference in New Issue
Block a user