Skip to content

Commit

Permalink
Update notebook/notebookapp.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Bates <kbates4@gmail.com>
  • Loading branch information
abaelhe and kevin-bates committed Sep 3, 2020
1 parent 281966d commit 07570c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/notebookapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ def _update_mathjax_config(self, change):

@default('file_id')
def _default_file_id(self):
int_hash = "%s" % (hash(self.sock) if self.sock else self.port)
return str(hash(self.sock) if self.sock else self.port)
return str(int_hash)

info_file = Unicode()
Expand Down

0 comments on commit 07570c6

Please sign in to comment.