Pylint
This commit is contained in:
parent
f81c156097
commit
b762463de9
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
import requests
|
import requests
|
||||||
import ovh
|
import ovh
|
||||||
import pycurl
|
|
||||||
import yaml
|
import yaml
|
||||||
|
import pycurl
|
||||||
|
|
||||||
try:
|
try:
|
||||||
input = raw_input
|
input = raw_input
|
||||||
@ -34,7 +34,7 @@ for bill in bills:
|
|||||||
status = c.getinfo(c.RESPONSE_CODE)
|
status = c.getinfo(c.RESPONSE_CODE)
|
||||||
c.close()
|
c.close()
|
||||||
output.close()
|
output.close()
|
||||||
if (status == 404):
|
if status == 404:
|
||||||
file = open(file_path)
|
file = open(file_path)
|
||||||
c = pycurl.Curl()
|
c = pycurl.Curl()
|
||||||
c.setopt(c.URL, url)
|
c.setopt(c.URL, url)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user