Permalink
Browse files

Join paths correctly

  • Loading branch information...
1 parent e66bcf4 commit f8ed12981aa0de42a436ef9ea8517f09444a4d75 @georgevreilly georgevreilly committed Feb 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 rescrape/site/AbstractScraper.py
@@ -90,7 +90,7 @@ def write(self, to_file=False, path="~/Dropbox/Text Notes/"):
if to_file:
path = os.path.expanduser(path)
- fileName = path + self.title() + ".txt"
+ fileName = os.path.join(path, self.title() + ".txt")
saveout = sys.stdout
fsock = open(fileName, 'w')

0 comments on commit f8ed129

Please sign in to comment.