ChandimaPrabath commited on
Commit
3c7938b
·
1 Parent(s): cf01f88
Files changed (2) hide show
  1. Instance.py +1 -1
  2. app.py +1 -1
Instance.py CHANGED
@@ -16,7 +16,7 @@ download_progress = {}
16
 
17
  class Instance:
18
  def __init__(self, id, url, cache_dir, index_file, token, repo):
19
- self.version = "0.2V Alpha"
20
  self.id = id
21
  self.url = url
22
  self.CACHE_DIR = cache_dir
 
16
 
17
  class Instance:
18
  def __init__(self, id, url, cache_dir, index_file, token, repo):
19
+ self.version = "0.2.1 V Alpha"
20
  self.id = id
21
  self.url = url
22
  self.CACHE_DIR = cache_dir
app.py CHANGED
@@ -78,7 +78,7 @@ def get_tv_show_api():
78
  if os.path.exists(cache_path):
79
  return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
80
 
81
- tv_path = instance.find_tv_path(instance.file_structure, title)
82
 
83
  if not tv_path:
84
  return jsonify({"error": "TV show not found"}), 404
 
78
  if os.path.exists(cache_path):
79
  return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
80
 
81
+ tv_path = instance.find_tv_path(title)
82
 
83
  if not tv_path:
84
  return jsonify({"error": "TV show not found"}), 404