summaryrefslogtreecommitdiff
path: root/bubbob/bonuses.py
diff options
context:
space:
mode:
Diffstat (limited to 'bubbob/bonuses.py')
-rw-r--r--bubbob/bonuses.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bubbob/bonuses.py b/bubbob/bonuses.py
index b3ce653..882a292 100644
--- a/bubbob/bonuses.py
+++ b/bubbob/bonuses.py
@@ -1027,9 +1027,10 @@ class Potion(RandomBonus):
('potion4', 750, None),
]
LocalDir = os.path.dirname(__file__) or os.curdir
- Extensions = [s for s in os.listdir(LocalDir)
+ # print(f"LocalDir = {LocalDir}")
+ Extensions = [s for s in os.listdir(os.path.dirname(__file__) or os.curdir)
if s.startswith('ext') and
- os.path.isdir(os.path.join(LocalDir, s))]
+ os.path.isdir(os.path.join(os.path.dirname(__file__) or os.curdir, s))]
random.shuffle(Extensions)
extra_cheat_arg = None
big = 0