Skip to content

Commit

Permalink
Correct default server example.
Browse files Browse the repository at this point in the history
The startup callback function only takes a single argument. Thanks to Yuxi Sun for reporting the error.
  • Loading branch information
nehpetsde committed Jun 13, 2017
1 parent 694a1fa commit c1d0f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/snep.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ following example, where all error and exception handling has been sacrified for
print ndef_message.pretty()
return nfc.snep.Success

def startup(clf, llc):
def startup(llc):
global my_snep_server
my_snep_server = DefaultSnepServer(llc)
return llc
Expand Down

0 comments on commit c1d0f5f

Please sign in to comment.