Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7e2adadc
authored
Jun 03, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update user
1 parent
d1d81015
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/views/printers.py
opensipkd/base/views/printers.py
View file @
7e2adad
...
...
@@ -194,7 +194,7 @@ class Views(BaseView):
def
after_save
(
self
,
values
,
row
):
self
.
db_session
.
flush
()
if
values
[
'status'
]
==
1
:
printers
=
TextPrinters
.
query
()
.
filter_by
(
create_uid
=
row
.
create_u
id
)
.
all
()
printers
=
TextPrinters
.
query
()
.
filter_by
(
user_id
=
row
.
user_
id
)
.
all
()
for
printer
in
printers
:
if
printer
.
id
==
row
.
id
:
continue
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment