Skip to content

Conversation

Sojiro59
Copy link

An adaptation of a previous commit about Windows that replaces ":" by "_" that leads to an error when using the "pyrdp-convert" with the error message:
[-] Failed to handle data, continuing anyway: [Errno 2] No such file or directory: 'C_\\Windows\\Temp\\
The 1st colon is also replaced, leading to an invalid path in Windows that expected "C:"

This fix aim to ignore drive colon, but keep replacing the other ":".
For other systems, they remains unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant