Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
use generalised separator instead of Windows “backslash”
  • Loading branch information
jostasche committed Aug 24, 2016
1 parent 2afb997 commit 9ab674f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Database.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def findfile(self, infile):
fname=infile
else: #relative path, look for first hit in different folders
for p in mypath:
test="%s\\%s"%(p,infile)
test="%s%s%s"%(p,os.sep,infile)
if os.path.isfile(test):
fname=test
break
Expand Down

0 comments on commit 9ab674f

Please sign in to comment.