File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ def authorize(self) -> User:
779779 def log_out (self ):
780780 """Log out from Telegram and delete the *\\ *.session* file.
781781
782- When you log out, the current client is stopped and the storage session destroyed .
782+ When you log out, the current client is stopped and the storage session deleted .
783783 No more API calls can be made until you start the client and re-authorize again.
784784
785785 Returns:
@@ -793,7 +793,7 @@ def log_out(self):
793793 """
794794 self .send (functions .auth .LogOut ())
795795 self .stop ()
796- self .storage .destroy ()
796+ self .storage .delete ()
797797
798798 return True
799799
Original file line number Diff line number Diff line change @@ -113,5 +113,5 @@ def open(self):
113113 except sqlite3 .OperationalError :
114114 pass
115115
116- def destroy (self ):
116+ def delete (self ):
117117 os .remove (self .database )
You can’t perform that action at this time.
0 commit comments