mirror of
https://github.com/9001/copyparty.git
synced 2026-03-27 02:23:49 +10:00
cropping folder icons is dumb
This commit is contained in:
@@ -31,10 +31,9 @@ class Ico(object):
|
||||
|
||||
w = 100
|
||||
h = 30
|
||||
if "n" in self.args.th_crop and as_thumb:
|
||||
if as_thumb:
|
||||
sw, sh = self.args.th_size.split("x")
|
||||
h = int(100.0 / (float(sw) / float(sh)))
|
||||
w = 100
|
||||
|
||||
if chrome:
|
||||
# cannot handle more than ~2000 unique SVGs
|
||||
|
||||
Reference in New Issue
Block a user