Skip to content

Commit

Permalink
cfpreferences: fix set linting
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 28, 2022
1 parent a6d4213 commit d0d7c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcclient/rpcclient/darwin/cfpreferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_values(self, application_id: str, username: str = kCFPreferencesCurrentU
result[k] = self.get_value(k, application_id, username, hostname)
return result

def set(self, key: str, value: str, application_id: str, username: str = kCFPreferencesCurrentUser,
def set(self, key: str, value, application_id: str, username: str = kCFPreferencesCurrentUser,
hostname: str = kCFPreferencesCurrentHost):
self._client.symbols.CFPreferencesSetValue(self._client.cf(key), self._client.cf(value),
self._client.cf(application_id), self._client.cf(username),
Expand Down
1 change: 1 addition & 0 deletions src/rpcclient/tests/test_core_foundation_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import datetime

import pytest


Expand Down

0 comments on commit d0d7c12

Please sign in to comment.