about summary refs log tree commit diff stats
path: root/src/plugins/python_api.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-02-24 11:57:25 +0100
committerMichael Vetter <jubalh@iodoru.org>2022-02-24 11:57:25 +0100
commit6d17b36605292a0eda148178677f72819c80b6fe (patch)
treecdc0e9c6cb81b2592ded9c1e470d1d88fe667cf5 /src/plugins/python_api.c
parent8173878bc7ce5b502a967186f847c8f7cf33ed72 (diff)
downloadprofani-tty-6d17b36605292a0eda148178677f72819c80b6fe.tar.gz
ox: expand file and check for existance before trying to announce
Output before:
```
11:00:00 - Annonuce OpenPGP Key for OX ~/test/testuser.pub.gpg ...
```

After:
```
11:00:00 - Annonuce OpenPGP Key for OX /home/user/test/testuser.pub.gpg ...
```

Now we expand the path so that we can check for `~` properly.
And test if the file is actually a normal file.
Diffstat (limited to 'src/plugins/python_api.c')
0 files changed, 0 insertions, 0 deletions