commit 2510e8dda3910927127f04b6deb0a2672a0453da
parent 54cd1cb3d323d9f0469f8586f0f72d5227ec5d1e
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Tue, 30 Jul 2019 12:52:47 -0700
Changing download method
Diffstat:
6 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/Test/.svn/entries b/Test/.svn/entries
@@ -0,0 +1 @@
+12
diff --git a/Test/.svn/format b/Test/.svn/format
@@ -0,0 +1 @@
+12
diff --git a/Test/test.py b/Test/.svn/pristine/1f/1f4c9994adb418eb37bc28f20d34c6371f32b08e.svn-base
diff --git a/Test/.svn/wc.db b/Test/.svn/wc.db
Binary files differ.
diff --git a/Test/.svn/wc.db-journal b/Test/.svn/wc.db-journal
diff --git a/Test/test.py b/Test/test.py
@@ -1,17 +1,11 @@
import os
import requests
-import subprocess
import tkinter as tk
def update_script():
- subprocess.run(
- [
- "svn",
- "checkout",
- "https://github.com/therealFIGBERT/figENC/trunk/Test"
- ],
- shell=False
- )
+ git_data = requests.get("https://raw.githubusercontent.com/therealFIGBERT/figENC/master/Test/test.py")
+ with open(os.getcwd() + "test.py", "w") as write:
+ write.write(git_data)
#This line is only on GitHub
root = tk.Tk()