diff pytouhou/resource/loader.py @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents 6b76c9ba3975
children d1f0bb0b7a17
line wrap: on
line diff
--- a/pytouhou/resource/loader.py
+++ b/pytouhou/resource/loader.py
@@ -60,7 +60,7 @@ class Directory(object):
 
 
 class ArchiveDescription(object):
-    _formats = {'PBG3': PBG3}
+    _formats = {b'PBG3': PBG3}
 
     def __init__(self, path, format_class, file_list=None):
         self.path = path