Diff
Differences From Artifact [5e2372f9f1]:
- File config.py — part of check-in [220ee1286a] at 2014-05-13 21:00:06 on branch trunk — Exchange audio/mp3 for standard audio/mpeg MIME type. (user: mario, size: 7442) [annotate] [blame] [check-ins using]
To Artifact [c89ffe92b8]:
- File config.py — part of check-in [77c8394885] at 2014-05-13 22:11:56 on branch trunk — Convert string to bytes for gzip-json writing (Python3) (user: mario, size: 7489) [annotate] [blame] [check-ins using]
144 145 146 147 148 149 150 | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | - + + | if gz: f = gzip.open(file+".gz", "w") if os.path.exists(file): os.unlink(file) else: f = open(file, "w") # encode |