improvement... fuck its so good

2020
Dawid J. Kubis 5 years ago
parent 69cf386e77
commit 12c1032e95

@ -22,14 +22,11 @@ Učí profesor Kubis a docent Veškrna.
+ [range](3/range)
+ [seznam](3/seznam)
## 5
+ [README](5/README)
## [5](5)
## 6
+ [README](6/README)
## [6](6)
## 7
+ [README](7/README)
## [7](7)
## 8
+ [dict](8/dict)
@ -38,6 +35,5 @@ Učí profesor Kubis a docent Veškrna.
+ [requests_and_http](8/requests_and_http)
+ [tenary_operator](8/tenary_operator)
## 9
+ [README](9/README)
## [9](9)

@ -28,8 +28,11 @@ def mkformat(files):
files = path_dict(files)
for key in files:
if 'README' in files[key]:
result.append(f'## [{key}]({key})')
else:
result.append(f'## {key}')
for name in sorted(files[key]):
for name in [i for i in sorted(files[key]) if i != 'README']:
result.append(f'+ [{name}]({os.path.join(key, name)})')
result.append('')

Loading…
Cancel
Save