Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8533a1f

Browse files
Bug fixes for Windows.
1 parent dd58ed5 commit 8533a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyqtdeploy/file_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_versioned_file(package, component):
5555
continue
5656

5757
# There must be one '-' separator.
58-
name, version = fn.split('-')
58+
name, version = fn.rsplit('-', maxsplit=1)
5959

6060
for ext in ('.py', '.h', '.c', '.cpp'):
6161
if version.endswith(ext):

0 commit comments

Comments
 (0)