File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import time
99import argparse
1010import math
11- import pickle
1211import configparser
1312from enum import Enum
1413from 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 ,
You can’t perform that action at this time.
0 commit comments