diff options
author | cclauss <cclauss@me.com> | 2020-03-05 02:08:24 +0300 |
---|---|---|
committer | cclauss <cclauss@me.com> | 2020-03-05 13:35:30 +0300 |
commit | b34ed011091a8dd877572dbb7de4c5a7d3e47b86 (patch) | |
tree | 4d0dc79c10c982b820894b3efb593217c88a4161 /shell_integration | |
parent | 5ef08a51b2d1493d8cad7882c44cd0009409532b (diff) |
Use print() function in both Python 2 and Python 3
Signed-off-by: cclauss <cclauss@me.com>
Diffstat (limited to 'shell_integration')
-rw-r--r-- | shell_integration/nautilus/syncstate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py index 2d1494ca1..84a13161c 100644 --- a/shell_integration/nautilus/syncstate.py +++ b/shell_integration/nautilus/syncstate.py @@ -296,6 +296,7 @@ class MenuExtension(GObject.GObject, Nautilus.MenuProvider): state = entry['state'] state_ok = state.startswith('OK') state_sync = state.startswith('SYNC') + isDir = os.path.isdir(filename + os.sep) if state_ok: shareable = True elif state_sync and isDir: |