# Use the normal configuration when run as a daemon
--- a/SABnzbd.py
+++ b/SABnzbd.py
@@ -367,7 +367,7 @@
 
 def get_user_profile_paths():
     """Get the default data locations on Windows"""
-    if sabnzbd.DAEMON:
+    if sabnzbd.DAEMON and sabnzbd.WIN32:
         # In daemon mode, do not try to access the user profile
         # just assume that everything defaults to the program dir
         sabnzbd.DIR_LCLDATA = sabnzbd.DIR_PROG
