We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31ee9c commit ca40e42Copy full SHA for ca40e42
buzz.py
@@ -12,11 +12,11 @@
12
13
import socket, ConfigParser
14
15
-Config = ConfigParser.ConfigParser()
16
-Config.read("config.ini")
+config = ConfigParser.ConfigParser()
+config.read("config.ini")
17
18
-HOST = Config.get("buzzer", "server_ip")
19
-PORT = Config.getint("buzzer", "udp_port")
+HOST = config.get("buzzer", "server_ip")
+PORT = config.getint("buzzer", "udp_port")
20
21
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
22
0 commit comments