Skip to content

Commit 12ff27a

Browse files
committed
Fixing workspace name
1 parent 68c4398 commit 12ff27a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.0.46"
9+
version = "2.0.47"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

Diff for: socketsecurity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.46'
2+
__version__ = '2.0.47'

Diff for: socketsecurity/core/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ def load_files_for_sending(files: List[str], workspace: str) -> List[Tuple[str,
290290
[(field_name, (filename, file_object)), ...]
291291
"""
292292
send_files = []
293-
293+
if "\\" in workspace:
294+
workspace = workspace.replace("\\", "/")
294295
for file_path in files:
295296
if "/" in file_path:
296297
_, name = file_path.rsplit("/", 1)

0 commit comments

Comments
 (0)