ephraim / lcurse

Python script to have a "curse" compatible client for linux
The Unlicense
51 stars 24 forks source link

Does not create "~/.lcurse" folder automatically #3

Closed hotice closed 9 years ago

hotice commented 9 years ago

lcurse doesn't create the ~/.lcurse folder automatically which makes the app fail. For instance, this error was displayed after selecting "Update Catalog" on a fresh installation:

Traceback (most recent call last):
  File "/home/andrei/lcurse-master/modules/application.py", line 399, in onUpdateCatalogFinished
    with open(defines.LCURSE_ADDON_CATALOG, "w") as c:
FileNotFoundError: [Errno 2] No such file or directory: '/home/andrei/.lcurse/addon-catalog.json'
ephraim commented 9 years ago

Thanks for your report. Never tried this :) :+1:

hotice commented 9 years ago

I just tested it and I can confirm it's fixed. Thank you very much!