commit before checkout master
This commit is contained in:
parent
dc8e0aa86e
commit
67d3189bfe
@ -46,9 +46,19 @@ def playerMonthly(url=None):
|
||||
return games
|
||||
|
||||
# Multithreaded games download
|
||||
def multiThredd(username, archive):
|
||||
def threddGames(username=None, archive=None):
|
||||
|
||||
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
|
||||
games_list = []
|
||||
|
Loading…
Reference in New Issue
Block a user