forked from rDrama/rDrama
vcx
parent
b33b5d9c72
commit
0038707525
|
@ -5,6 +5,7 @@ from .submission import Submission
|
||||||
from .comment import Comment
|
from .comment import Comment
|
||||||
from files.__main__ import Base
|
from files.__main__ import Base
|
||||||
from files.helpers.lazy import lazy
|
from files.helpers.lazy import lazy
|
||||||
|
from files.helpers.const import *
|
||||||
import time
|
import time
|
||||||
|
|
||||||
class OauthApp(Base):
|
class OauthApp(Base):
|
||||||
|
|
|
@ -659,6 +659,7 @@ def thumbnail_thread(pid):
|
||||||
post.thumburl = process_image(name, resize=100)
|
post.thumburl = process_image(name, resize=100)
|
||||||
db.add(post)
|
db.add(post)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
db.close()
|
db.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue