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
fromsysimportplatformifplatform=="linux"orplatform=="linux2":
XDG_DATA_HOME=os.environ.get('XDG_DATA_HOME', os.path.expanduser("~/.local/share"))
user_data_file=XDG_DATA_HOME+"/.mitype_history.csv"returnos.path.expanduser(user_data_file)
else:
# as usual for windows
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project!
A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
There is XDG Base Directory Specification which dictates which files should go where.
According to that user data should go to $XDG_DATA_HOME on linux.
mitype/mitype/history.py
Line 17 in cdb2da1
Without adding extra pip dependency:
The text was updated successfully, but these errors were encountered: