vcx
This commit is contained in:
parent
88c282fbe7
commit
53816a32b4
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue