Changeset ffd078a for skype/skyped.py
- Timestamp:
- 2009-08-18T11:33:57Z (15 years ago)
- Branches:
- master
- Children:
- c99bb05
- Parents:
- 61580d7
- git-author:
- Leho Kraav <leho@…> (18-08-09 11:33:57)
- git-committer:
- Miklos Vajna <vmiklos@…> (18-08-09 11:33:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
r61580d7 rffd078a 140 140 141 141 def dprint(msg): 142 from time import strftime 142 143 global options 143 144 145 now = strftime("%Y-%m-%d %H:%M:%S") 146 144 147 if options.debug: 145 print msg148 print now + ": " + msg 146 149 if options.log: 147 150 sock = open(options.log, "a") 148 sock.write("%s \n" %msg)151 sock.write("%s: %s\n" % now, msg) 149 152 sock.close() 150 153
Note: See TracChangeset
for help on using the changeset viewer.