You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/addok/.virtualenvs/addok2/bin/addok", line 9, in <module>
load_entry_point('addok==1.0.0.rc.1', 'console_scripts', 'addok')()
File "/home/addok/.virtualenvs/addok2/lib/python3.4/site-packages/addok/bin/__init__.py", line 27, in main
args.func(args)
File "/home/addok/.virtualenvs/addok2/lib/python3.4/site-packages/addok/shell.py", line 477, in invoke
cmd = Cmd()
File "/home/addok/.virtualenvs/addok2/lib/python3.4/site-packages/addok/shell.py", line 38, in __init__
self._init_history_file()
File "/home/addok/.virtualenvs/addok2/lib/python3.4/site-packages/addok/shell.py", line 45, in _init_history_file
readline.read_history_file(self.history_file)
File "/home/addok/.virtualenvs/addok2/lib/python3.4/site-packages/addok/shell.py", line 59, in history_file
return str(Path.home() / self.HISTORY_FILE)
AttributeError: type object 'Path' has no attribute 'home'
Following code is fine: return str(os.path.expanduser('~')+'/'+self.HISTORY_FILE)
The text was updated successfully, but these errors were encountered:
Following code is fine:
return str(os.path.expanduser('~')+'/'+self.HISTORY_FILE)
The text was updated successfully, but these errors were encountered: