diff options
author | Sean B. Palmer <sbp@aldebaran.local> | 2012-01-11 14:18:34 +0000 |
---|---|---|
committer | Sean B. Palmer <sbp@aldebaran.local> | 2012-01-11 14:18:34 +0000 |
commit | e3633957a9f115da07127fe97c629bb362b2af58 (patch) | |
tree | 2ee45462dff7f8a1e6eaf05aa00ef756558b6d1a /modules/clock.py | |
parent | b2fe5b31e271f711cda6f2d730a51abba5244131 (diff) | |
download | bot-e3633957a9f115da07127fe97c629bb362b2af58.tar.gz bot-e3633957a9f115da07127fe97c629bb362b2af58.tar.bz2 bot-e3633957a9f115da07127fe97c629bb362b2af58.zip |
New .tr syntax for translations
Diffstat (limited to 'modules/clock.py')
-rwxr-xr-x | modules/clock.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/clock.py b/modules/clock.py index f848423..91f2d5b 100755 --- a/modules/clock.py +++ b/modules/clock.py @@ -280,6 +280,7 @@ tock.priority = 'high' def npl(phenny, input): """Shows the time from NPL's SNTP server.""" + # for server in ('ntp1.npl.co.uk', 'ntp2.npl.co.uk'): client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) client.sendto('\x1b' + 47 * '\0', ('ntp1.npl.co.uk', 123)) data, address = client.recvfrom(1024) |