Commits

Barry Schwartz  committed 5c4a94e

Neglected to close db connections.

  • Participants
  • Parent commits 2b5d060

Comments (0)

Files changed (2)

File fonts_data.py

         fonts_data = dbroot['fonts_data']
         font_idents = list(fonts_data.fonts.keys())
 
+        connection.close()
         db.close()
         storage.close()
 
 
         data = data_getter(dbroot['fonts_data'])
 
+        connection.close()
         db.close()
         storage.close()
 
     if not serve_font.font_file_exists(ident, '.eot.jgz'):
         create_font(ident, '.eot.jgz')
 
-
-
+connection.close()
 db.close()
 storage.close()