Remove __main__ from photodb.py.

This commit is contained in:
voussoir 2020-09-28 20:15:28 -07:00
parent 6eb4d887ba
commit 3a8aadf6aa

View file

@ -1886,7 +1886,3 @@ class PhotoDB(
def save_config(self):
with self.config_filepath.open('w', encoding='utf-8') as handle:
handle.write(json.dumps(self.config, indent=4, sort_keys=True))
if __name__ == '__main__':
p = PhotoDB()
print(p)