Permalink
Browse files

Add fragment for newsflash pages

(which are mostly blank).
  • Loading branch information...
1 parent fa5748b commit c31ede3b47e3c67ccac83bc4bbf8dbb450df6868 @ali1234 committed Sep 15, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 fragment.py
View
@@ -545,6 +545,12 @@ def test_and_fix(self, p):
47]], dtype=np.uint8), (15,2,27,4), 'RACING index, 4 line'),
],
+
+# big fragments
+
+[
+Fragment(np.zeros((17,40), dtype=np.uint8)|0x20, (2,2,40,17), 'Newsflash page'),
+]
]
@@ -611,7 +617,7 @@ def build():
if not os.path.isdir(outpath):
os.makedirs(outpath)
- fb = [FragmentBuilder((15,2,27,4))]
+ fb = [FragmentBuilder((2,2,40,17))]
for root, dirs, files in os.walk(indir):
dirs.sort()

0 comments on commit c31ede3

Please sign in to comment.