Skip to content

Commit

Permalink
Merge pull request #368 from Aelire/relative-gclib
Browse files Browse the repository at this point in the history
Import gclib relative to wwrando.py instead of current working directory
  • Loading branch information
LagoLunatic authored Mar 23, 2024
2 parents ccb32a3 + a79f843 commit 3a78be0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wwrando.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/python3

import sys
sys.path.insert(0, "./gclib")
import os.path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "gclib"))

# Allow keyboard interrupts on the command line to instantly close the program.
import signal
Expand Down

0 comments on commit 3a78be0

Please sign in to comment.