Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
fix: offlineチェック漏れの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
PigeonsHouse committed Jan 8, 2024
1 parent b9cffea commit 95a3ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vsml.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def element_to_content(
if tag_name in definition.CONTENT_TAG
else ""
)
if source_value[:4] == "http" and tag_name != "txt":
if is_offline and source_value[:4] == "http" and tag_name != "txt":
raise Exception("please turn off offline mode or don't use URL file")

# styleの取得
Expand Down

0 comments on commit 95a3ed8

Please sign in to comment.