Skip to content

Commit

Permalink
Fix data type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Aug 18, 2024
1 parent 7b2a380 commit 2f96777
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ddcz/tavern.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ def create_tavern_table(
section = TAVERN_SECTION_PRIVATE_ID
public_db = "0"

if allow_reputation:
allow_reputation = "1"
else:
allow_reputation = "0"

return TavernTable.objects.create(
name=name,
description=description,
Expand Down

0 comments on commit 2f96777

Please sign in to comment.