Convert media_ids to int safely.
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 9 May 2014 20:37:49 +0000 (23:37 +0300)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 13 Jun 2014 15:30:46 +0000 (10:30 -0500)
commit9da03b739f19d43f195e6216f3469808fa67a191
tree0d0cbcb26241683b9250893ae86bfe720c40366e
parent25b1296dedef20de338fd72bf631bd4d1c2deb38
Convert media_ids to int safely.

With this commit, "gmg deletemedia spam,12" will not raise
ValueError anymore.
mediagoblin/gmg_commands/deletemedia.py