wolph / alfred-converter

Alfred unit converter is a smart calculator for Alfred with support for unit conversions to make it a bit comparable to the Google Calculator and Wolfram Alpha.
93 stars 15 forks source link

main function references nonexistent location for logfile #40

Closed benjamineskola closed 2 years ago

benjamineskola commented 2 years ago

converter/main.py l102 references /Users/rick/…, which will break for anyone whose username is not rick (and who doesn't have a directory ~/workspace/alfred-converter, etc.).

Suggest firstly using os.environ["HOME"], and secondly making the logging path configurable and optional.

wolph commented 2 years ago

Sorry about that. I accidentally left in that debug code