mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fixed logic error
This commit is contained in:
parent
8e8c5c2b61
commit
8a68ecd0b7
@ -577,7 +577,7 @@ class FilesystemProvider:
|
||||
writer.write_u64(buffer.f_namemax)
|
||||
|
||||
def getcreds(self, _, writer):
|
||||
credentials = self.token if self.token == "" else getpass.getpass(prompt="credentials: ")
|
||||
credentials = self.token if self.token != "" else getpass.getpass(prompt="credentials: ")
|
||||
writer.write_str(credentials)
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user