mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Merge pull request #822 from linkchecker/pylint-errors
Fix pylint errors (false positives)
This commit is contained in:
commit
6bfea133bc
2 changed files with 5 additions and 0 deletions
|
|
@ -159,6 +159,10 @@ if os.name == 'nt':
|
|||
Cyan: colorama.CYAN,
|
||||
White: colorama.GREY,
|
||||
}
|
||||
else:
|
||||
WinColor = {
|
||||
None: None,
|
||||
}
|
||||
|
||||
# pc speaker beep escape code
|
||||
Beep = "\007"
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ def get_geoip_dat():
|
|||
# try importing both the C-library GeoIP and the pure-python pygeoip
|
||||
geoip_dat = get_geoip_dat()
|
||||
geoip = None
|
||||
geoip_error = None
|
||||
if geoip_dat:
|
||||
try:
|
||||
import GeoIP
|
||||
|
|
|
|||
Loading…
Reference in a new issue