projects
/
pgwui_core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5899bc7
)
Improved python
author
Karl O. Pinc
<kop@karlpinc.com>
Sun, 14 Jul 2024 03:07:59 +0000
(22:07 -0500)
committer
Karl O. Pinc
<kop@karlpinc.com>
Sun, 14 Jul 2024 03:07:59 +0000
(22:07 -0500)
src/pgwui_core/core.py
patch
|
blob
|
history
diff --git
a/src/pgwui_core/core.py
b/src/pgwui_core/core.py
index 679bcf82e08649a7bd254f364b681888353f4824..7abecec5ef50005a2c86fda944d6ef6afee9692b 100644
(file)
--- a/
src/pgwui_core/core.py
+++ b/
src/pgwui_core/core.py
@@
-469,10
+469,7
@@
class UploadDoubleFileFormMixin(UploadFormBaseMixin):
super().read()
post = self.uh.request.POST
- if 'last_key' in post:
- self['last_key'] = post['last_key']
- else:
- self['last_key'] = ''
+ self['last_key'] = post.get('last_key', '')
def write_response(self, response):
'''