Skip to content

Commit fd3d3d1

Browse files
committed
Tiny refactoring
1 parent 121c3f8 commit fd3d3d1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

configuration/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import re
3-
import socket
43

54
# For reference see http://netbox.readthedocs.io/en/latest/configuration/mandatory-settings/
65
# Based on https://github.com/netbox-community/netbox/blob/develop/netbox/netbox/configuration.example.py

startup_scripts/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def filename(f):
1010
return f.name
1111

12-
with scandir(dirname(abspath(__file__))) as it:
12+
with scandir(this_dir) as it:
1313
for f in sorted(it, key = filename):
1414
if not f.is_file():
1515
continue

0 commit comments

Comments
 (0)