Skip to content

Commit

Permalink
Fixes #178
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Oct 3, 2022
1 parent 596c717 commit 82c6e9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions walrus/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def __init__(self, *args, **kwargs):
if script_dir is not False:
self.init_scripts(script_dir=script_dir)

def __bool__(self):
return True # Avoid falling back to __len__().

def xsetid(self, name, id):
"""
Set the last ID of the given stream.
Expand Down

0 comments on commit 82c6e9a

Please sign in to comment.