Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SQL_Class = ClientReportSQL(self.a, self.b)
- the_queue.put([SQL_Class.openconnection])
- the_queue.put([SQL_Class.executeSQL]) # this is a long running function that assigns SQL_Class.c
- File_Class = ClientReportFile(self.clientname, SQL_Class.c) # next object relies on the SQL_Class.c attribute that is not ready in the main thread in time
- # returns AttributeError: 'ClientReportSQL' object has no attribute 'treaty_date'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement