From be14524c3384c88f0a5b0d64c4584abcc6ae0665 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Dec 2019 13:07:25 +0100 Subject: Display & download any message part --- strconv.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'strconv.go') diff --git a/strconv.go b/strconv.go index 2fb9d73..0879aac 100644 --- a/strconv.go +++ b/strconv.go @@ -18,6 +18,10 @@ func parseUid(s string) (uint32, error) { } func parsePartPath(s string) ([]int, error) { + if s == "" { + return nil, nil + } + l := strings.Split(s, ".") path := make([]int, len(l)) for i, s := range l { -- cgit v1.2.3-59-g8ed1b