Skip to content

Commit f7a0cb4

Browse files
committed
Merge pull request jorgebastida#61 from geboyr/master
Fixed the dajaxice.core.js generation issue for Windows users
2 parents 9228e4f + e1fce99 commit f7a0cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dajaxice/finders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def listdir(self, path):
4444
for f in self.files:
4545
if f.startswith(path):
4646
f = f.replace(path, '', 1)
47-
if '/' in f:
48-
folders.append(f.split('/', 1)[0])
47+
if os.sep in f:
48+
folders.append(f.split(os.sep, 1)[0])
4949
else:
5050
files.append(f)
5151
return folders, files

0 commit comments

Comments
 (0)