Closed adityathiru closed 6 years ago
Current code works when the lanshark.conf is located at ./lanshark/bin/~\lanshark. Go through the code, and try changing the location to ~/.config/lanshark.
Assigned to : @adishegde Please update your status here
The problem lies in how the platform is checked for Windows.
The current code is:
if "win" in sys.platform:
however, sys.platform
returns darwin
for Mac and so the path is incorrectly set.
I have fixed this. Will submit a PR after templates have been issued.
Cool. Have you modified the code to move the config file to the Expected Location : ~/.config/lanshark ?
Yes.
Okay. Test it from your end and confirm the working of share_path, incoming_path etc. (esp with different versions of osx - atleast the latest one like sierra and high sierra).
@adishegde Waiting for the PR :D
Expected Location : ~/.config/lanshark Actual Location : ./lanshark/bin/\~\lanshark
Look into src/config.py for more info