Re: Broken IF statement

2015-01-13 Thread joboppsgpp
On Tuesday, January 13, 2015 at 4:57:50 AM UTC-5, Maxime S wrote: > 2015-01-12 22:19 GMT+01:00 : > > > > https://bpaste.net/show/93be9e15634b <--- Line 19 through 22 > > > > At all times, my program is assigning the object priority of 0, even if one > > already exists in the database with a priori

Re: Broken IF statement

2015-01-13 Thread joboppsgpp
On Monday, January 12, 2015 at 4:55:43 PM UTC-5, jobop...@gmail.com wrote: > Thanks Chris. This definitely helps. I will test it and see what happens. In > terms of the previous code, what it was intended to do wasn't actually > happening. Thanks Chris. Your change worked. -- https://mail.pytho

Re: Broken IF statement

2015-01-13 Thread Maxime S
2015-01-12 22:19 GMT+01:00 : > > https://bpaste.net/show/93be9e15634b <--- Line 19 through 22 > > At all times, my program is assigning the object priority of 0, even if one already exists in the database with a priority of 0 (it's supposed to be assigning it a priority of 1 in those cases). > > I'

Re: Broken IF statement

2015-01-12 Thread joboppsgpp
Thanks Chris. This definitely helps. I will test it and see what happens. In terms of the previous code, what it was intended to do wasn't actually happening. -- https://mail.python.org/mailman/listinfo/python-list

Re: Broken IF statement

2015-01-12 Thread Chris Angelico
On Tue, Jan 13, 2015 at 8:19 AM, wrote: > https://bpaste.net/show/93be9e15634b <--- Line 19 through 22 > > At all times, my program is assigning the object priority of 0, even if one > already exists in the database with a priority of 0 (it's supposed to be > assigning it a priority of 1 in tho