Permalink
Browse files

Optimization of directories

  • Loading branch information...
1 parent 0a37266 commit 8cdeaf4539d4d82fdb53b455ecc6f5b5ea6309b8 @ik5 committed Feb 6, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 convert_quotes.py
View
4 convert_quotes.py
@@ -20,9 +20,7 @@ def init_config() :
if os.name == 'posix' :
config_dir = '.%s' % (config_dir)
- conf = '{0}{1}{2}{1}{3}{1}{4}'.format(home, os.sep,
- config_dir, 'pyquotes',
- 'settings.conf')
+ conf = os.join(home. config_dir, 'pyquotes', 'settings.conf')
config_dir = os.path.dirname(conf)
if not os.path.exists(config_dir) :

0 comments on commit 8cdeaf4

Please sign in to comment.