Преглед на файлове

[raz] User parameter is actually username already

Romain Rigaux преди 4 години
родител
ревизия
7da254adcb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/libs/aws/src/aws/client.py

+ 1 - 1
desktop/libs/aws/src/aws/client.py

@@ -45,7 +45,7 @@ def _make_client(identifier, user):
 
   if RAZ.IS_ENABLED.get() and not aws_conf.IS_SELF_SIGNING_ENABLED.get():
     host = client_conf.HOST.get()
-    s3_client = RazS3Connection(username=user.username, host=host)  # Note: Remaining AWS configuration is fully skipped
+    s3_client = RazS3Connection(username=user, host=host)  # Note: Remaining AWS configuration is fully skipped
     s3_client_expiration = None
   else:
     s3_client_builder = Client.from_config(client_conf, get_credential_provider(identifier, user))