Skip to content

Commit a0b9b33

Browse files
authored
Update plymouth-creator.py
Fix critical bug that prevented the application from running on newer versions of Python.
1 parent 0b18713 commit a0b9b33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plymouth-creator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ def on_startVideoConvertionButton_clicked(self, button):
5050
outputDirectory = videoOutputDirectory
5151
selectDirectoryDoneLabel.set_text("Done!")
5252
def on_selectDirectoryButton_clicked(self, button):
53+
global setOutputDirectory
5354
global outputDirectory
5455
outputDirectory = filedialog.askdirectory(parent=root,initialdir="/home",title='Select directory with .png files')
5556
if(isinstance(outputDirectory, str)):
56-
setOutputDirectory = True
57-
selectDirectoryDoneLabel.set_text("Done!")
57+
setOutputDirectory = True
58+
selectDirectoryDoneLabel.set_text("Done!")
5859
def on_generateButton_clicked(self, button):
5960
global name
6061
global description

0 commit comments

Comments
 (0)