Skip to content

Commit ca40e42

Browse files
committed
Naming convention fix
1 parent f31ee9c commit ca40e42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

buzz.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
import socket, ConfigParser
1414

15-
Config = ConfigParser.ConfigParser()
16-
Config.read("config.ini")
15+
config = ConfigParser.ConfigParser()
16+
config.read("config.ini")
1717

18-
HOST = Config.get("buzzer", "server_ip")
19-
PORT = Config.getint("buzzer", "udp_port")
18+
HOST = config.get("buzzer", "server_ip")
19+
PORT = config.getint("buzzer", "udp_port")
2020

2121
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
2222

0 commit comments

Comments
 (0)