Jump to content

Recommended Posts

Hello, i implemented date and time in minimap, and on the start i imported time aswell, and i am getting this error.

Anyone?

 

 

0130 23:37:57008 :: Traceback (most recent call last):

0130 23:37:57008 ::   File "uiMiniMap.py", line 395, in OnUpdate

0130 23:37:57008 :: NameError
0130 23:37:57008 :: : 
0130 23:37:57008 :: global name 'strftime' is not defined
0130 23:37:57008 :: 
 

Here is the line thats showing error: self.dataTime.SetText(strftime("[%H:%M:%S - %d/%m/%Y]"))

Link to comment
https://metin2.dev/topic/30286-global-name-strftime-is-not-defined/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

12 hours ago, Sidelekbrytro said:

Hello, i implemented date and time in minimap, and on the start i imported time aswell, and i am getting this error.

Anyone?

 

 

0130 23:37:57008 :: Traceback (most recent call last):

0130 23:37:57008 ::   File "uiMiniMap.py", line 395, in OnUpdate

0130 23:37:57008 :: NameError
0130 23:37:57008 :: : 
0130 23:37:57008 :: global name 'strftime' is not defined
0130 23:37:57008 :: 
 

Here is the line thats showing error: self.dataTime.SetText(strftime("[%H:%M:%S - %d/%m/%Y]"))

Someone?

  • 1 year later...
  • 1 year later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.