View Single Post
Old 01-30-2022, 05:32 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Will anything break if I don't close Calibre completely while updating from the respo?
Maybe. Python loads code when it is used ('import'ed). Once it is loaded you can change the file underneath. Thus things will keep working (unchanged) after a repository change if all the code that will run has been imported. Things could break if something is imported after the repository has changed. This is especially true if some changes are loaded and some are not.

Personally I wouldn't take the risk. Problems could be very subtle. That said, I change source while calibre is running because I know what I am changing and what is already loaded.
chaley is offline   Reply With Quote