mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
INCOMPLETE, DONT PUSH:
refactor: reorganize state management and update import paths across modules and start changing json parsing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user