Skip to content

Commit

Permalink
Better status
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 17, 2018
1 parent 2f769d9 commit ae1bedf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions status
Expand Up @@ -7,10 +7,8 @@ import re
import yaml

for folder in glob.glob('/home/sbrunner/dsl/paperless/scan/*/'):
print()
print(re.sub(r'.', '-', folder))
print(folder)
print(re.sub(r'.', '-', folder))

if not os.path.exists(os.path.join(folder, 'config.yaml')):
print("No config")
Expand All @@ -31,6 +29,7 @@ for folder in glob.glob('/home/sbrunner/dsl/paperless/scan/*/'):
print("Subprocess error")
e = error['subproceesserror']
print(e)
print(e.output.decode())
if e.stderr:
print(e.stderr)
elif 'error' in error:
Expand Down

0 comments on commit ae1bedf

Please sign in to comment.