Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
something
Browse files Browse the repository at this point in the history
  • Loading branch information
Marocco2 committed Mar 12, 2016
1 parent fe29829 commit 21e1b54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/python/PitConfig/PitConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import subprocess
import configparser
#from requests import get
import urllib.request
import shutil
import codecs
import platform
Expand All @@ -32,13 +33,14 @@

import ctypes
from PitConfig_lib import sim_info
from PitConfig_lib import pahk

version = "1.2.1"
#r = get('https://api.github.com/repos/Marocco2/PitConfig-Marocco2-version/releases/latest')
#request = r.json()
#lastversion = request['tag_name']
#if version != lastversion:
subprocess.Popen(["apps\python\PitConfig\CheckNewVersion.exe"])
urllib.request.urlretrieve("https://api.github.com/repos/Marocco2/PitConfig-Marocco2-version/releases/latest", "version.json")

user32 = ctypes.windll.user32
Resolution = user32.GetSystemMetrics(0)
Expand Down

0 comments on commit 21e1b54

Please sign in to comment.