Skip to content

Commit 47da437

Browse files
committed
Linted
1 parent 8d6c5e0 commit 47da437

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Magic_AI_Storybook/story.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import time
99
import argparse
1010
import math
11-
import pickle
1211
import configparser
1312
from enum import Enum
1413
from tempfile import NamedTemporaryFile
@@ -226,7 +225,12 @@ def start(self):
226225
next_button_image = pygame.image.load(IMAGES_PATH + BUTTON_NEXT_IMAGE)
227226
new_button_image = pygame.image.load(IMAGES_PATH + BUTTON_NEW_IMAGE)
228227
button_spacing = (
229-
self.width - (back_button_image.get_width() + next_button_image.get_width() + new_button_image.get_width())
228+
self.width
229+
- (
230+
back_button_image.get_width()
231+
+ next_button_image.get_width()
232+
+ new_button_image.get_width()
233+
)
230234
) // 4
231235
button_ypos = (
232236
self.height
@@ -254,7 +258,9 @@ def start(self):
254258

255259
self._load_button(
256260
"next",
257-
button_spacing * 3 + back_button_image.get_width() + new_button_image.get_width(),
261+
button_spacing * 3
262+
+ back_button_image.get_width()
263+
+ new_button_image.get_width(),
258264
button_ypos,
259265
next_button_image,
260266
self.next_page,

0 commit comments

Comments
 (0)