about summary refs log tree commit diff stats
path: root/src/plugins/python_plugins.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_plugins.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_plugins.c')
0 files changed, 0 insertions, 0 deletions
n123' href='#n123'>123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193