commit before checkout master
This commit is contained in:
parent
dc8e0aa86e
commit
67d3189bfe
@ -46,9 +46,19 @@ def playerMonthly(url=None):
|
|||||||
return games
|
return games
|
||||||
|
|
||||||
# Multithreaded games download
|
# Multithreaded games download
|
||||||
def multiThredd(username, archive):
|
def threddGames(username=None, archive=None):
|
||||||
with open(archive) as f:
|
|
||||||
archive = json.load(f)
|
try:
|
||||||
|
path = os.getcwd()+'/archives'
|
||||||
|
os.makedirs(path)
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
if archive:
|
||||||
|
with open(archive) as f:
|
||||||
|
archive = json.load(f)
|
||||||
|
else:
|
||||||
|
archive = playerArchives(username)
|
||||||
|
|
||||||
# async download games
|
# async download games
|
||||||
games_list = []
|
games_list = []
|
||||||
|
Loading…
Reference in New Issue
Block a user