mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-22 08:06:39 +00:00
Forgot to define dir
This commit is contained in:
parent
22940522ba
commit
be9cfd8aec
@ -279,7 +279,7 @@ class Bot():
|
|||||||
dir = args[2]
|
dir = args[2]
|
||||||
else:
|
else:
|
||||||
random.seed(random.randrange(sys.maxsize))
|
random.seed(random.randrange(sys.maxsize))
|
||||||
random.choice([item for item in self.db if item not in self.settings['ignore']])
|
dir = random.choice([item for item in self.db if item not in self.settings['ignore']])
|
||||||
if dir in self.db:
|
if dir in self.db:
|
||||||
random.seed(random.randrange(sys.maxsize))
|
random.seed(random.randrange(sys.maxsize))
|
||||||
ascii = f'{dir}/{random.choice(self.db[dir])}'
|
ascii = f'{dir}/{random.choice(self.db[dir])}'
|
||||||
|
Loading…
Reference in New Issue
Block a user