mirror of
https://github.com/9001/copyparty.git
synced 2026-01-05 02:55:39 +10:00
bugfixes;
* `--og` went 500 if thumbnails were disabled / not available * strip_hints wasn't very helpful explaining why it crashed
This commit is contained in:
@@ -47,6 +47,14 @@ def uh(top):
|
||||
|
||||
|
||||
def uh1(fp):
|
||||
try:
|
||||
uh2(fp)
|
||||
except:
|
||||
print("failed to process", fp)
|
||||
raise
|
||||
|
||||
|
||||
def uh2(fp):
|
||||
pr(".")
|
||||
cs = strip_file_to_string(fp, no_ast=True, to_empty=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user