Skip to content

Commit ec44de7

Browse files
committed
Adding last modified time to parking code module
1 parent 402e0b4 commit ec44de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spaceparking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def parking(bot, trigger):
1111
if (parkingcode == ""):
1212
bot.say("No parking code is currently set")
1313
else:
14-
bot.say('Parking code is currently ' + parkingcode)
14+
bot.say('Parking code is currently ' + parkingcode + ' - last modified: ' + time.ctime(os.path.getmtime('parkingcodefile')))
1515

1616
@willie.module.commands('setparking')
1717
@willie.module.example('.setparking','setparking')

0 commit comments

Comments
 (0)