]> git.lizzy.rs Git - cheatdb.git/commitdiff
Fix missing import
authorrubenwardy <rw@rubenwardy.com>
Thu, 9 Jul 2020 04:45:46 +0000 (05:45 +0100)
committerrubenwardy <rw@rubenwardy.com>
Thu, 9 Jul 2020 04:45:46 +0000 (05:45 +0100)
app/utils.py

index cd386d4d19a49a47b23448ac289b266151a209e0..3478f4abdd79df01c5032d1530e005148b6e86a4 100644 (file)
@@ -22,6 +22,7 @@ from .models import *
 from . import app
 import random, string, os, imghdr
 from urllib.parse import urljoin
+from collections.abc import Iterable
 
 def abs_url_for(path, **kwargs):
        scheme = "https" if app.config["BASE_URL"][:5] == "https" else "http"