support XDG Base Directory Specification (closes #765)
This commit is contained in:
parent
5bd0aeed41
commit
3a3bbd377e
3 changed files with 39 additions and 11 deletions
|
|
@ -237,7 +237,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
|||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
history_filepath = os.path.join(self.weboob.WORKDIR, '%s_history' % self.APPNAME)
|
||||
history_filepath = os.path.join(self.weboob.workdir, '%s_history' % self.APPNAME)
|
||||
try:
|
||||
readline.read_history_file(history_filepath)
|
||||
except IOError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue