Handle nitpicks

This commit is contained in:
wishfort36 2018-08-13 07:50:54 +02:00
parent 6d59c1b7a5
commit 0e3e41a5e8
2 changed files with 2 additions and 2 deletions

View File

@ -1255,7 +1255,7 @@ class CommandDispatcher:
}
if count is not None:
env['QUTE_COUNT'] = str(count) # must be str
env['QUTE_COUNT'] = str(count)
idx = self._current_index()
if idx != -1:

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ "$QUTE_COUNT" = "5" ]; then
if [ "$QUTE_COUNT" -eq 5 ]; then
echo "message-info 'Count is five!'" >> "$QUTE_FIFO"