Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2003-10-23 22:29:15 +0400
committerYann Leboulanger <asterix@lagaule.org>2003-10-23 22:29:15 +0400
commit7bea0341fa547ef69b802208a5fae71ba267cd99 (patch)
tree408b88db9a4c0d2a1f3a89e69b1b8b335f0f930a /common
parent7d6e55243eb56b8b9b70841bcd2ccdb9399d2d5a (diff)
showoffline in .gajimrc and convertion "~/" -> "/home/user" in optparser.py
Diffstat (limited to 'common')
-rw-r--r--common/optparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/optparser.py b/common/optparser.py
index af9edfcfc..9125bbcbe 100644
--- a/common/optparser.py
+++ b/common/optparser.py
@@ -20,12 +20,13 @@
import ConfigParser
import logging
+import os
log = logging.getLogger('common.options')
class OptionsParser:
def __init__(self, fname):
- self.__fname = fname
+ self.__fname = os.path.expanduser(fname)
# END __init__
def parseCfgFile(self):