Delete file before opening newly created post.
This commit is contained in:
1 parent
a2f51dfc2e
commit
c5db35fe82
1 file changed
+1
@@ -136,6 +136,7 @@ class SubredditPage(Page):
|
||||
if self.term.loader.exception:
|
||||
raise TemporaryFileError()
|
||||
|
||||
if not self.term.loader.exception:
|
||||
# Open the newly created post
|
||||
with self.term.loader('Loading submission'):
|
||||
page = SubmissionPage(
|
||||
|
||||
Reference in new issue
Block a user