Update mtape.lua

Fixed label not applying when downloading from GitHub
This commit is contained in:
LDDestroier 2023-09-30 15:55:59 -04:00 committed by GitHub
parent c2a186c3fd
commit 47651b1371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
-- tape managing program
-- made by LDDestroier
local _DEBUG = false
local _DEBUG = true
local function checkOption(argName, argInfo, isShort)
for i = 1, #argInfo do
@ -336,6 +336,7 @@ end
if getFromGithub then
print("Pulling from CC-Media.")
tapeName = arguments[1]
fileName = "https://github.com/LDDestroier/CC-Media/raw/master/DFPWM/" .. getFromGithub .. ".dfpwm"
end
@ -373,6 +374,7 @@ else
end
write("Writing...")
success = writeToTape(tape, contents, tapeName)
if success then
print("\n" .. success)