diff options
Diffstat (limited to 'telegram/utils.go')
-rw-r--r-- | telegram/utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram/utils.go b/telegram/utils.go index b41423a..f1f7f52 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -375,12 +375,12 @@ func (c *Client) formatFile(file *client.File, compact bool) string { return "" } - size64:= uint64(file.Size) + size64 := uint64(file.Size) c.prepareDiskSpace(size64) basename := file.Remote.UniqueId + filepath.Ext(src) dest := c.content.Path + "/" + basename // destination path - link = c.content.Link + "/" + basename // download link + link = c.content.Link + "/" + basename // download link // move err = os.Rename(src, dest) |