Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when launched from a non-existent directory #195

Open
mohd-akram opened this issue Mar 18, 2019 · 0 comments
Open

Error when launched from a non-existent directory #195

mohd-akram opened this issue Mar 18, 2019 · 0 comments
Labels

Comments

@mohd-akram
Copy link
Contributor

Example:

$ mkdir foo
$ cd foo
$ rmdir ../foo

Running ntfy send message or, more annoyingly when shell integration is enabled, just pressing Enter, causes this:

Traceback (most recent call last):
  File "/Users/mohamed/Library/Python/3.7/bin/ntfy", line 6, in <module>
    from ntfy.cli import main
  File "/Users/mohamed/Library/Python/3.7/lib/python/site-packages/ntfy/__init__.py", line 12, in <module>
    _cwd = getcwd()
FileNotFoundError: [Errno 2] No such file or directory
@dschep dschep added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants