1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Fixed appdata logic which was broken on OS X.

This commit is contained in:
Virgil Dupras
2013-11-10 11:05:03 -05:00
parent 12cf9b800b
commit 76f45fb5a6
8 changed files with 33 additions and 19 deletions

View File

@@ -144,7 +144,7 @@ class DupeGuru(RegistrableApplication, Broadcaster):
logging.debug("Debug mode enabled")
RegistrableApplication.__init__(self, view, appid=1)
Broadcaster.__init__(self)
self.appdata = desktop.special_folder_path(desktop.SpecialFolder.AppData)
self.appdata = desktop.special_folder_path(desktop.SpecialFolder.AppData, appname=self.NAME)
if not op.exists(self.appdata):
os.makedirs(self.appdata)
self.directories = directories.Directories()