mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 01:49:42 +02:00
53b2bb912e
refactor: reorganize state management and update import paths across modules and start changing json parsing
11 lines
200 B
Python
11 lines
200 B
Python
def split_data(data):
|
|
json = json.loads(data)
|
|
|
|
count = json["count"]
|
|
posts = json["data"]
|
|
query = json["query"]
|
|
success = json["success"]
|
|
|
|
return count, posts, query, success
|
|
|