Skip to content

Commit

Permalink
Fix python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Dec 19, 2024
1 parent b0ee9e1 commit efe39e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-legacy/v1/setting/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def execute(self, user_id, username, tree, value, key=None):

tmp = tmp[pathList[idx]]

if username is not 'Anonymous':
if username != 'Anonymous':
await self.conn.execute("""
UPDATE bdms.users
SET
Expand Down

0 comments on commit efe39e1

Please sign in to comment.