1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-04 20:15:39 +00:00

Implemented screen size override

This commit is contained in:
Paweł Jastrzębski
2013-06-12 11:09:20 +02:00
parent 3f2fb67c04
commit 1ae5b210b0
3 changed files with 27 additions and 9 deletions
+1 -2
View File
@@ -108,8 +108,7 @@ class ProfileData:
class ComicPage:
def __init__(self, source, device):
try:
self.profile = device
self.profile_label, self.size, self.palette, self.gamma, self.panelviewsize = ProfileData.Profiles[device]
self.profile_label, self.size, self.palette, self.gamma, self.panelviewsize = device
except KeyError:
raise RuntimeError('Unexpected output device %s' % device)
try: