Commits

mickael9 committed 41a1552

Fix "Deleted share" message being shown when deletion fails

Comments (0)

Files changed (1)

                 except KeyError:
                     print("No such file in the share")
             else:
+                share.destroy()
                 print('Deleted share: %s [%s]' % (share.title or 'Untitled', share.url))
-                share.destroy()
 
     # File uploads