We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f92fb29 commit 9259014Copy full SHA for 9259014
main.py
@@ -1,4 +1,4 @@
1
-import sys
+import sys, os
2
# from PySide6.QtGui import *
3
from PySide6.QtWidgets import QApplication
4
# from PySide6.QtCore import *
@@ -42,7 +42,10 @@ def fu_k(e):
42
ans = ''
43
for aa in e.mimeData().text().split('\n'):
44
if aa != '':
45
- ans += aa[8:] + ','
+ if os.name == 'nt':
46
+ ans += aa[8:] + ','
47
+ else:
48
+ ans += aa[7:] + ','
49
50
fun_bind.files = ans
51
fun_bind.a3.start()
0 commit comments