Skip to content

Commit 89ed924

Browse files
author
César Román
authored
refactor(db): cast return value to str (#78)
1 parent 073a7a5 commit 89ed924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/incendium/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def status(self):
9191
# type: () -> String
9292
"""Get connection status."""
9393
connection_info = system.db.getConnectionInfo(self.database)
94-
return connection_info.getValueAt(0, "Status")
94+
return str(connection_info.getValueAt(0, "Status"))
9595

9696

9797
class Param(object):

0 commit comments

Comments
 (0)