Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading pickeldb just after successful attempt fails #92

Open
ts0924 opened this issue Nov 9, 2023 · 0 comments
Open

Loading pickeldb just after successful attempt fails #92

ts0924 opened this issue Nov 9, 2023 · 0 comments

Comments

@ts0924
Copy link

ts0924 commented Nov 9, 2023

This issue seems coming from pickled.
The following code ammended this issue, just reporting.

def load(location, auto_dump, sig = True):
    '''Return a pickledb object. location is the path to the json file.'''
    db = False
    while db == False:
        try:
            db = PickleDB(location, auto_dump, sig)
        except:
            db = False
    return db
ts0924 added a commit to ts0924/pickledb that referenced this issue Nov 9, 2023
Amending an error when loading pickeldb just after successful attempt patx#92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant