e293fc8 Fix another crash on Python 3.10

Authored and Committed by churchyard a year ago
    Fix another crash on Python 3.10
    
        
file added
+36
file modified
+5 -1