diff options
-rwxr-xr-x | fusearchive.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fusearchive.py b/fusearchive.py index ab13f0d..04e2b16 100755 --- a/fusearchive.py +++ b/fusearchive.py @@ -47,8 +47,7 @@ if server.parser.largs == None or len(server.parser.largs) != 2: log_level = logging.WARNING # If debug is in the assembed opts then enable our debug too -print server.fuse_args.assemble() -if ' '.join( server.fuse_args.assemble() ).find( 'debug' ): +if server.fuse_args.assemble()[ -1 ].find( 'debug' ) != -1: log_level = logging.DEBUG logging.basicConfig( level = log_level, |