diff options
author | Profpatsch <mail@profpatsch.de> | 2024-10-01T19·05+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2024-10-05T13·49+0000 |
commit | 92ad57febe5247816d8fadc1b29d0772536d4a67 (patch) | |
tree | b57d343459c53c3cad371ac3dba68c8baaaa7afe /users/lukegb | |
parent | cf68a34b0d882374a02aa418eccae4f588483094 (diff) |
fix(users/Profpatsch/lyric): create new lyric file if not exists r/8768
That was the original intention, but I didn’t understand that lua would fail with "r+" if the file does not exist (and "w+" truncates the file, so you have to try "r+" and then fall back to "w+" which will create the file as well.) Change-Id: Ib238f0b73ab403ceeaf035d053a14eba718d1b48 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12562 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users/lukegb')
0 files changed, 0 insertions, 0 deletions