diff --git a/setup_win32.py b/setup_win32.py index b63e30943..e3d829b0e 100644 --- a/setup_win32.py +++ b/setup_win32.py @@ -35,7 +35,7 @@ options = { 'goocanvas', 'Crypto.PublicKey.DSA', 'Crypto.Hash.HMAC', 'numbers', 'win32com.client', 'win32com.server', 'HTMLParser'], 'base': 'Win32GUI', - 'packages': ['cffi', 'cryptography'] + 'packages': ['cffi', 'cryptography'], 'bin_excludes': [ 'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll', 'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll', diff --git a/src/common/optparser.py b/src/common/optparser.py index 6423e6756..2aab4670c 100644 --- a/src/common/optparser.py +++ b/src/common/optparser.py @@ -43,7 +43,7 @@ log = logging.getLogger('gajim.c.optparser') class OptionsParser: def __init__(self, filename): - self.__filename = filename + self.__filename = os.path.realpath(filename) self.old_values = {} # values that are saved in the file and maybe # no longer valid