We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44604c commit 19e4792Copy full SHA for 19e4792
tldr.py
@@ -243,6 +243,8 @@ def get_commands(platforms=None):
243
if os.path.exists(get_cache_dir()):
244
for platform in platforms:
245
path = os.path.join(get_cache_dir(), 'pages', platform)
246
+ if not os.path.exists(path):
247
+ continue
248
commands += [file[:-3] for file in os.listdir(path) if file.endswith(".md")]
249
return commands
250
0 commit comments