mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2026-06-24 04:11:42 +00:00
cleanup
This commit is contained in:
@@ -2,6 +2,10 @@ import json
|
||||
import datetime
|
||||
|
||||
class JSONFile(dict):
|
||||
"""
|
||||
Behaves like a dictionary, but automatically
|
||||
reads and writes to a JSON file (most of the time).
|
||||
"""
|
||||
@staticmethod
|
||||
def readJSON(path):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user