mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix pycodestyle errors
Mainly two kind of errors: * pokemon exceptions * invalid escape sequences
This commit is contained in:
@ -281,5 +281,5 @@ INTERNAL_IPS = (
|
||||
|
||||
try:
|
||||
HOSTNAME = socket.gethostname()
|
||||
except:
|
||||
except Exception:
|
||||
HOSTNAME = 'localhost'
|
||||
|
Reference in New Issue
Block a user