diff --git a/couchpotato/core/helpers/variable.py b/couchpotato/core/helpers/variable.py index 0e55c01..b4dfcd8 100644 --- a/couchpotato/core/helpers/variable.py +++ b/couchpotato/core/helpers/variable.py @@ -5,7 +5,6 @@ import platform import random import re import string -import sys log = CPLog(__name__) @@ -24,6 +23,7 @@ def getDataDir(): return os.path.join(user_dir, 'Library', 'Application Support', 'CouchPotato') # FreeBSD + import sys if 'freebsd9' in sys.platform: return os.path.join('/usr/local/', 'couchpotato', 'data')