Commits

mickael9  committed fa2aa46

Report if there are no shares

  • Participants
  • Parent commits 43a2408

Comments (0)

Files changed (1)

File gett_uploader.py

             show_share(share)
 
         if not args.list:
+            found = False
+
             for share in user.list_shares():
+                found = True
                 show_share(share)
 
+            if not found:
+                print('You have no shares!')
+                print()
+
+
     # --delete command
 
     if args.delete: