mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Rewrite dictionary creation as a dictionary literal
This commit is contained in:
parent
4a4087180b
commit
8235134fad
3 changed files with 18 additions and 20 deletions
|
@ -51,11 +51,12 @@ class autoProcessGames(object):
|
|||
if status == 0:
|
||||
downloadStatus = 'Downloaded'
|
||||
|
||||
params = {}
|
||||
params['api_key'] = apikey
|
||||
params['mode'] = 'UPDATEREQUESTEDSTATUS'
|
||||
params['db_id'] = gamezID
|
||||
params['status'] = downloadStatus
|
||||
params = {
|
||||
'api_key': apikey,
|
||||
'mode': 'UPDATEREQUESTEDSTATUS',
|
||||
'db_id': gamezID,
|
||||
'status': downloadStatus
|
||||
}
|
||||
|
||||
logger.debug("Opening URL: %s" % (url), section)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue