From fd5f99630f60b0df9b66db6d1b09fe22de6699b3 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 10 Sep 2007 21:24:17 +0000 Subject: [PATCH] fix last --- src/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common.py b/src/common.py index e526940d2..9aae5b746 100644 --- a/src/common.py +++ b/src/common.py @@ -39,14 +39,11 @@ CLIENT_VERSION = "".join(PROGRAM_VERSION.split('.'))+"0"*(4 - len(PROGRAM_VERSIO import platform if platform.system() == "Windows": CONFIG_DIR = os.path.join(os.path.expanduser("~\\"), 'deluge') + INSTALL_PREFIX = '' if not os.path.exists(CONFIG_DIR): os.mkdir(CONFIG_DIR) else: CONFIG_DIR = xdg.BaseDirectory.save_config_path('deluge') - -if hasattr(sys, "frozen"): - INSTALL_PREFIX = '' -else: # the necessary substitutions are made at installation time INSTALL_PREFIX = '@datadir@'