Commit 439341f
Chris Park
Fixed reference error exception
- Since self.session.close() in __del__ is a weak reference, python 3 may issue an uncaught exception since it has already been cleared. The try/except handles it.1 parent c6f7375 commit 439341f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
| |||
0 commit comments