[PORTABILITY] Use os.join on paths
[animesorter.git] / animesorter2.py
index 9dbfea0..605b13b 100755 (executable)
@@ -11,9 +11,9 @@ import shutil
 from optparse import OptionParser
 
 ### Default Configuration Variables ###
-DICT_FILE = '~/.config/animesorter2/animesorter.dict'
-WORK_DIR =  '~/downloads/usenet'
-SORT_DIR =  '/data/Anime'
+DICT_FILE = os.path.join ('~','.config','animesorter2','animesorter.dict')
+WORK_DIR =  os.path.join ('~','downloads','usenet')
+SORT_DIR =  os.path.join ('/','data','Anime')
 TYPES_REGEX = '.*(avi|ogm|mkv|mp4|\d\d\d)$'