mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
Use slashes within gemini blog dates
This commit is contained in:
1 parent
6f5ebdcf98
commit
a8f33d0296
1 file changed
+2
-1
@@ -119,7 +119,8 @@ def blog_to_gemini(base_dir: str, nickname: str, domain: str,
|
||||
try:
|
||||
with open(gemini_blog_filename, 'w+',
|
||||
encoding='utf-8') as fp_gemini:
|
||||
fp_gemini.write(title_text + '\n\n' + published + '\n\n' +
|
||||
fp_gemini.write(title_text + '\n\n' +
|
||||
published.replace('-', '/') + '\n\n' +
|
||||
content_text)
|
||||
except OSError:
|
||||
print('EX: blog_to_gemini unable to write ' + gemini_blog_filename)
|
||||
|
||||
Reference in new issue
Block a user