Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
adding some extra spacing for more readable code
  • Loading branch information
Vhou-Atroph committed Mar 11, 2024
1 parent b71d591 commit 289f4e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tt_damage_calculator/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def __init__(self, parent, image, gag):
self['fg'] = 'white'
self['command'] = self.press
self.grid(row=0, column=self.gag.level)

def list(self):
global trp_used
global snd_used
Expand All @@ -107,6 +108,7 @@ def list(self):
return sqt_used
case "Drop":
return drp_used

def press(self):
data = self.gag.button_press(organic.get())
self.list().append(data[0])
Expand Down

0 comments on commit 289f4e5

Please sign in to comment.