diff options
-rw-r--r-- | gkeys/gkeys/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py index 6610480..a4081c9 100644 --- a/gkeys/gkeys/actions.py +++ b/gkeys/gkeys/actions.py @@ -779,7 +779,7 @@ class Actions(object): _unicode("ACTIONS: verify; local file %s") % filepath) success = os.path.isfile(filepath) if (not signature - and '.' + filepath.rsplit('.', 1)[1] not in EXTENSIONS): + and '.' + filepath.rsplit('.', 1)[-1] not in EXTENSIONS): success_fetch = False for ext in EXTENSIONS: sig_path = filepath + ext |