mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 19:28:25 +02:00
contracted 2 line into 1
This commit is contained in:
parent
16e0cad559
commit
f581e728f8
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@ import os
|
|||
|
||||
def count_track(self):
|
||||
tracks = []
|
||||
with open("./ct_config.json", encoding="utf-8") as f:
|
||||
ctconfig = json.load(f)
|
||||
with open("./ct_config.json", encoding="utf-8") as f: ctconfig = json.load(f)
|
||||
self.VERSION = ctconfig["version"]
|
||||
for cup in ctconfig["cup"].values():
|
||||
if not (cup["locked"]): tracks.extend(cup["courses"].values())
|
||||
|
|
Loading…
Reference in a new issue