Skip to content

Commit

Permalink
Update plymouth-creator.py
Browse files Browse the repository at this point in the history
Fix critical bug that prevented the application from running on newer versions of Python.
  • Loading branch information
Techcrafter authored Jul 3, 2024
1 parent 0b18713 commit a0b9b33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plymouth-creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ def on_startVideoConvertionButton_clicked(self, button):
outputDirectory = videoOutputDirectory
selectDirectoryDoneLabel.set_text("Done!")
def on_selectDirectoryButton_clicked(self, button):
global setOutputDirectory
global outputDirectory
outputDirectory = filedialog.askdirectory(parent=root,initialdir="/home",title='Select directory with .png files')
if(isinstance(outputDirectory, str)):
setOutputDirectory = True
selectDirectoryDoneLabel.set_text("Done!")
setOutputDirectory = True
selectDirectoryDoneLabel.set_text("Done!")
def on_generateButton_clicked(self, button):
global name
global description
Expand Down

0 comments on commit a0b9b33

Please sign in to comment.