Skip to content

Commit

Permalink
Easier location of cwd.
Browse files Browse the repository at this point in the history
  • Loading branch information
mreintz committed Dec 21, 2024
1 parent 64f3490 commit 4576329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play_sounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import play_sounds_resources

synthfilename = "florestan-piano.sf2"
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
__location__ = os.getcwd() #os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
synthfile = os.path.join(__location__, synthfilename)

if not os.path.isfile(synthfile):
Expand Down

0 comments on commit 4576329

Please sign in to comment.