From 2bf79d894e3d17b33bef696835c9a3d2e159719b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 26 Sep 2015 15:58:33 +0200 Subject: [PATCH] fix typo --- setup_win32.py | 2 +- src/common/optparser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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