toymaker.git

commit 8fc15751c08b09697ad0bcc1b0d10293e7f3aa11

Author: Adam <git@apiote.xyz>

fix accept in item

 toymaker.sh | 3 ++-


diff --git a/toymaker.sh b/toymaker.sh
index e904ffa75a7a06b93695d7c61ffcc5e4a5af3c2c..256cb58e9a1d3b83528108b3e5c41cc7cdf1fc43 100755
--- a/toymaker.sh
+++ b/toymaker.sh
@@ -340,8 +340,9 @@ 			;;
 		Host:*)
 			host=${line#Host: }
 			;;
-		Accept:*)
+		Accept:*|accept:*)
 			accept=${line#Accept: }
+			accept=${accept#accept: }
 			;;
 		Authorization:*)
 			authorization=${line#Authorization: }