confp = SafeConfigParser()
# Config file absolute path
- conf_path = os.path.join(
- os.path.dirname(__file__), "gwit.conf")
+ gwitpath = os.path.dirname(__file__)
+ conf_path = os.path.join(gwitpath, "gwit.conf")
# config file exist?
if os.path.isfile(conf_path):
settings[user]["atoken"], settings[user]["asecret"])
# Run Main()
- gladefile = "gwit.glade"
+ gladefile = os.path.join(gwitpath, "gwit.glade")
if options.max and int(options.max) <= 200:
maxn = int(options.max)
else: