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

UnboundLocalError: local variable 'new_texts' referenced before assignment #3

Closed
damiencourousse opened this issue May 11, 2013 · 1 comment

Comments

@damiencourousse
Copy link

hello,

I get an error with the following command:
$ python sms_db_importer.py data/mmssms.db data/android.db
is Android
Traceback (most recent call last):
File "sms_db_importer.py", line 297, in
sms_main()
File "sms_db_importer.py", line 50, in sms_main
texts += new_texts
UnboundLocalError: local variable 'new_texts' referenced before assignment

By the way, the new_texts variable is not set if the code moves to the "elif "sms" in tableNames" case.

regards,
Damien

@t413
Copy link
Owner

t413 commented Aug 18, 2014

Thanks Damien, sorry I wasn't working on this much at the time. It's fixed now!

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

2 participants