|
@@ -93,7 +93,8 @@ class PwmanCliWin(PwmanCli):
|
|
nodes = self._db.getnodes([args])
|
|
nodes = self._db.getnodes([args])
|
|
node = self._db_entries_to_nodes(nodes)[0]
|
|
node = self._db_entries_to_nodes(nodes)[0]
|
|
print(node)
|
|
print(node)
|
|
- flushtimeout = int(self.config.get_value('Global', 'cls_timeout'))
|
|
|
|
|
|
+ flushtimeout = self.config.get_value('Global', 'cls_timeout')
|
|
|
|
+ flushtimeout = int(flushtimeout) if flushtimeout else 10
|
|
|
|
|
|
if flushtimeout > 0:
|
|
if flushtimeout > 0:
|
|
flushtimeout = flushtimeout or 10
|
|
flushtimeout = flushtimeout or 10
|